Learn R Programming

glca (version 1.4.2)

coef.glca: Extracts glca Model Coefficients

Description

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

Usage

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

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.

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.

See Also

glca

Examples

Run this code
## For examples see example(glca)

Run the code above in your browser using DataLab