Plot all profile-level MMs or AMCEs (helper)
Source:R/plot_projoint_profile_level.R
plot_projoint_profile_level.Rd
Internal helper used by plot.projoint_results
to render
profile-level marginal means (MMs) or AMCEs.
Usage
plot_projoint_profile_level(
x,
.estimates = "corrected",
.by_var = FALSE,
.base_size = 12,
.base_family = "",
...
)
Arguments
- x
A
projoint_results
object (profile-level).- .estimates
"corrected"
,"uncorrected"
, or"both"
.- .by_var
Logical; if
TRUE
, plot subgroup differences.- .base_size
Base font size (pts).
- .base_family
Base font family.
- ...
Additional options passed internally.
Examples
# \donttest{
# Normally use: plot(fit_profile)
# The helper is internal and called by plot.projoint_results():
# dat <- reshape_projoint(exampleData1, .outcomes = c("choice1","choice2"))
# fit_profile <- projoint(dat, .structure = "profile_level")
# p <- projoint:::plot_projoint_profile_level(fit_profile, .estimates = "both")
# print(p)
# }