summary.lca {lcca}R Documentation

Summarize information from latent-class analysis

Description

Method for summarizing the result from a call to lca

Usage


## S3 method for class 'lca'
summary(object, show.all = FALSE, show.header = TRUE,
   show.data.model = FALSE, show.fit = TRUE, show.param = TRUE,
   show.se.gamma = FALSE, show.se.rho = FALSE, ...) 

## S3 method for class 'summary.lca'
print(x, ...)

Arguments

object

an object of class "lca" which is produced as the result of a call to lca; see DETAILS below.

show.all

if TRUE, then all summary information will be printed.

show.header

if TRUE, then a header will be printed identifying the output as results from a latent-class analysis.

show.data.model

if TRUE, then a table will be printed summarizing the input variables, sample size, details of the model being fit and the modeling options.

show.fit

if TRUE, then a table will be printed summarizing the basic results of the fitting procedure and model fit statistics.

show.param

if TRUE, then tables will be printed showing the estimated model parameters.

show.se.gamma

if TRUE, then a table will be printed displaying the standard errors for the estimated class prevalences (gamma-parameters).

show.se.rho

if TRUE, then a table will be printed displaying the standard errors for the estimated item-response probabilities (rho-parameters).

x

a result from summary.lca.

...

additional arguments to be passed to the methods.

Details

The result from a call to lca is an object of class "lca", which is a list containing results from the latent-class analysis procedure. The function summary.lca, which is invoked through the generic method summary, summarizes the information contained in this object.

The result from summary.lca is an object of class "summary.lca" which can be displayed or printed via the generic method print.

To change the order of the latent classes in the summary output tables, apply the function permute.class to the lca object.

Value

The result from summary.lca is a list that includes all the original components of object plus some additional summary tables that may or may not be printed when the the generic method print is called, depending on the values of show.all, show.data.model, etc.

Author(s)

Joe Schafer

Send questions to mchelpdesk@psu.edu

References

For more information on using this function and other functions in the LCCA package, see the manual LCCA Package for R, Version 1 in the subdirectory doc.

See Also

lca, permute.class


[Package lcca version 2.0.0 Index]