If you’re having a hard time finding suitable variables, what about one of the dependent variables from the first set of exercises for this session:
get_model_data()
from the sjPlot
package. You should set the option type = "pred"
and provide the name of your independent variable in the terms
option.
data.frame
or a tibble
.
bind_rows()
function from the dplyr
package or rbind()
from base R
.tibble
using as_tibble()
from the tibble
package.
ggplot
with the regression predictions (without further customizing anything).
facet_wrap()
here.