summary.mlma.boot | R Documentation |
This function provide summary statistics for all mediation effects.
## 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)
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. |
Qingzhao Yu (qyu@lsuhsc.edu), Bin Li (bli@lsu.edu).
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.