summary.lawbl {LAWBL} | R Documentation |
Summary method for lawbl
objects
Description
Provide summaries of posterior information for a lawbl
object, .
Usage
## S3 method for class 'lawbl'
summary(
object,
what = "basic",
med = FALSE,
SL = 0.05,
detail = FALSE,
digits = 4,
istart = 1,
iend = -1,
...
)
Arguments
object |
A |
what |
A list of options for what to summarize.
|
med |
logical; if the posterior median ( |
SL |
Significance level for interval estimate. The default is .05. |
detail |
logical; if only significant ( |
digits |
Number of significant digits to print when printing numeric values. |
istart |
Starting point of the Markov chain for summary. |
iend |
Ending point of the Markov chain for summary; -1 for the actual final point. |
... |
additional arguments |
Value
A list or matrix containing the summarized information based on the option what
.
Examples
dat <- sim18cfa0$dat
J <- ncol(dat)
K <- 3
Q<-matrix(-1,J,K);
Q[1:2,1]<-Q[7:8,2]<-Q[13:14,3]<-1
m0 <- pcfa(dat = dat, Q = Q, LD = FALSE,burn = 1000, iter = 1000)
summary(m0) # summarize basic information
summary(m0, what = 'lambda') #summarize significant loadings
summary(m0, what = 'qlambda') #summarize significant loadings in pattern/Q-matrix format
summary(m0, what = 'offpsx') #summarize significant LD terms