summary.mlma | R Documentation |
This function provides ANOVA tests on the predictors and mediators in the full model and on the predictors for models in explaining each mediators.
## S3 method for class 'mlma'
summary(object,...,type="III")
## S3 method for class 'summary.mlma'
print(x, ...)
object |
an "mlma" object. |
x |
a summary.mlma.boot object created initially call to summary.mlma.boot. |
... |
arguments to be passed to methods. |
type |
type of test, "II", "III", 2, or 3. |
Qingzhao Yu (qyu@lsuhsc.edu), Bin Li (bli@lsu.edu).
data(sim.111)
data2<-data.org(ifelse(sim.111$x>1.9,1,0), m=sim.111$m,
f10y=list(1,c("x^2","sqrt(x+6)")),
f20ky=list(2,c("x","x^3")),
f10km=list(matrix(c(2,1),1),"log(x+2)"), level=sim.111$level)
temp2<-mlma(y=sim.111$y, data1=data2)
summary(temp2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.