calcAME | R Documentation |
[...]
calcAME(treat, group, time, what, vfr, dat)
treat |
Character string. Treatment variable. |
group |
Grouping variable |
time |
Time variable |
what |
"Mu" or "Sigma" |
vfr |
gamlss output |
dat |
Dataframe |
List of length 2. Element 1 returns AME by group and time. Elements 2 returns the AME by time.
Benjamin Rosche <benjamin.rosche@gmail.com>
data(incdat) vfr <- gamlss() AME_mu <- calcAME("treat", group="SES", time="year", what="mu", vfr, incdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.