| summary.tseLCA_structural | R Documentation |
print() of a fitted model is brief: the header, fit statistics, and the
estimates with their standard errors. summary() collects fit statistics
and the full coefficient tables (with z values and p-values); printing the
result formats the tables with stats::printCoefmat(). The coefficient
table (columns Estimate, Std. Error, z value, Pr(>|z|)) can be
extracted with coef(summary(fit)).
## S3 method for class 'tseLCA_structural'
summary(object, ...)
## S3 method for class 'summary.tseLCA_structural'
coef(object, ...)
## S3 method for class 'summary.tseLCA_structural'
print(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
...
)
## S3 method for class 'tseLCA_structural'
print(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
...
)
## S3 method for class 'tseLCA_measurement'
summary(object, ...)
## S3 method for class 'summary.tseLCA_measurement'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
## S3 method for class 'tseLCA_measurement'
print(x, ...)
object |
A fitted |
... |
Further arguments passed to |
x |
A |
digits |
Number of significant digits to print. |
signif.stars |
Logical; print significance stars? |
summary() returns an object of class "summary.tseLCA_structural"
or "summary.tseLCA_measurement". Print methods return their argument
invisibly.
d <- generate_data(200, "high", "covariate", seed = 1)
fit <- three_step(d, paste0("Y", 1:6), n_classes = 3,
Zp.names = "Zp", use.simple.cov = TRUE)
summary(fit)
printCoefmat(coef(summary(fit)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.