print.mlma.boot: Print "mlma.boot" Object

View source: R/mlma.r

print.mlma.bootR Documentation

Print "mlma.boot" Object

Description

print the level 1 and level 2 mediation effecs from the object.

Usage

## S3 method for class 'mlma.boot'
print(x,...)

Arguments

x

an "mlma.boot" object.

...

other arguments

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.boot<-boot.mlma(y=sim.111$y, data1=data2,boot=2)

print(temp2.boot)

mlma documentation built on Aug. 30, 2023, 1:10 a.m.