summary.mlma.boot: Summary of "mlma.boot" Object

View source: R/mlma.r

summary.mlma.bootR Documentation

Summary of "mlma.boot" Object

Description

This function provide summary statistics for all mediation effects.

Usage

## S3 method for class 'mlma.boot'
summary(object, ..., alpha = 0.05,RE=FALSE,digits=4)
## S3 method for class 'summary.mlma.boot'
print(x, ..., digits=x$digits)

Arguments

object

an "mlma" object.

x

a summary.mlma.boot object created initially call to summary.mlma.boot.

...

arguments to be passed to methods.

alpha

the significance level at which to draw the confidence bands.

RE

if true, print the relative effects, otherwise show the mediation effects.

digits

the number of digits to print.

Author(s)

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

Examples

data(sim.111)
data(sim.211)
data3<-data.org(x=cbind(ifelse(sim.211$x>1.9,1,0),sim.111$x), m=sim.211$m, 
                f20ky=list(2,c("x","x^3")), f01km1=list(matrix(c(2,1),1),"sqrt(x)+3"), 
                f01km2=list(matrix(c(1,1),1),c("x^1.2","x^2.3")), level=sim.211$level)
temp3.boot<-boot.mlma(y=sim.211$y, data1=data3,boot=2) 
summary(temp3.boot, digits=2)
summary(temp3.boot, RE=TRUE)

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