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

Description Usage Arguments Author(s) Examples

View source: R/mlma.r

Description

This function provide summary statistics for all mediation effects.

Usage

1
2
3
4
## 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

1
2
3
4
5
6
7
8
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 July 6, 2021, 5:07 p.m.