
plot_model_means_box_cox_cat
Source:R/plot_model_means_box_cox_cat.R
plot_model_means_box_cox_cat.RdPlot model means for box-cox transformed deviation scores as a function of categorical ratings
Usage
plot_model_means_box_cox_cat(
dat,
variable,
predictor_means,
new_order,
title,
lambda,
back_transform = FALSE
)Arguments
- dat
Data for plotting
- variable
Categorical predictor variable to plot
- predictor_means
A tibble containing the means and confidence intervals of the predictor variable
- new_order
A character vector of the new order of the levels of the categorical predictor
- title
A character vector of the plot title
- lambda
A length 1 numeric vector of the lambda value used in the box-cox transformation
- back_transform
A logical indicating whether to back-transform the box-cox transformed data
See also
Other Plotting functions:
get_forest_plot_data(),
plot_cont_rating_effects(),
plot_effects_diversity(),
plot_forest(),
plot_model_means_orchard()