If you read ?plot_model() there is a description of type="pred" that
suggests fuller details are found under ?ggeffect() from the ggeffects
package.
This in turn suggests that if you use 'ggpredict()' with arguments
that replicate those you used in plot_model(), you get a data.frame
with the
As no one has responded. Typically,
> ?predict
so
> predict(fit)
should give you fitted values for the class of fit, whatever it is.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in
Hi R users,
I was trying to create a figure of three-way-interactions. There is a
function "plot-model" but I was wondering whether we can extract the
predicted value before we run the "plot-model" function.
For example:
in this example,
plot_model(fit, type = "pred", terms = c("c12hour",
3 matches
Mail list logo