summary.mlma: Summary of "mlma" Object

Description Usage Arguments Author(s) Examples

View source: R/mlma.r

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

1
2
3
4
## S3 method for class 'mlma'
summary(object,...,type="III")
## S3 method for class '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(s)

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

Examples

1
2
3
4
5
6
7
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)

mlma documentation built on July 6, 2021, 5:07 p.m.