Wrappers for alternative naming of EMMs
These are wrappers for emmeans
and related functions to provide
backward compatibility, or for users who may prefer to
use other terminology than “estimated marginal means” – namely
“least-squares means” or “predicted marginal means”.
lsmeans(...) pmmeans(...) lstrends(...) pmtrends(...) lsmip(...) pmmip(...) lsm(...) pmm(...) lsmobj(...) pmmobj(...) lsm.options(...) get.lsm.option(x, default = emm_defaults[[x]])
... |
Arguments passed to the corresponding |
x |
Character name of desired option |
default |
default value to return if |
For each function with ls
xxxx or pm
xxxx in its name,
the same function named em
xxxx is called. Any estimator names or
list items beginning with “em” are replaced with “ls” or
“pm” before the results are returned
The result of the call to em
xxxx, suitably modified.
get.lsm.option
and lsm.options
remap options from
and to corresponding options in the lsmeans options system.
pigs.lm <- lm(log(conc) ~ source + factor(percent), data = pigs) lsmeans(pigs.lm, "source")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.