Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coef.glca

Extracts glca Model Coefficients


Description

Extracts regression coefficients of glca model if the model includes covariates.

Usage

## S3 method for class 'glca'
coef(
  object,
  intercept = FALSE,
  digits = max(3, getOption("digits") - 3),
  show.signif.stars = getOption("show.signif.stars"),
  ...
)

Arguments

object

an object of "glca".

intercept

a logical value for whether to print intercept".

digits

number of significant digits to use when printing.

show.signif.stars

logical. If TRUE, ‘significance stars’ are printed for each coefficient.

...

further arguments passed to or from other methods.

Value

Coefficient matrix from the glca model

If the model has calculated standard errors, coefficient matrix contains standard errors, t-statistic, and its p-value.

See Also

Examples

## For examples see example(glca)

glca

Estimating a Group-Effect in Latent Class Analysis

v1.2.2
GPL-3
Authors
Youngsun Kim [aut, cre], Hwan Chung [aut]
Initial release
2021-03-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.