Learn R Programming

mlma (version 6.3-1)

summary.mlma: Summary of "mlma" Object

Description

This function provides ANOVA tests on the predictors and mediators in the full model and on the predictors for models in explaining each mediators.

Usage

# S3 method for mlma
summary(object,...,type="III")
# S3 method for summary.mlma
print(x, ...)

Arguments

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.

Author

Qingzhao Yu (qyu@lsuhsc.edu), Bin Li (bli@lsu.edu).

Examples

Run this code
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)

Run the code above in your browser using DataLab