summary.mlma: Summary of "mlma" Object

View source: R/mlma.r

summary.mlmaR Documentation

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 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

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 Aug. 30, 2023, 1:10 a.m.