clm: Fit fixed and random effects longitudinal model.

Description Usage Arguments Value Examples

View source: R/clm____main.R

Description

Fit fixed and random effects longitudinal model.

Usage

1
clm(formula, waves, ids, weights, stratum, cluster, data, sigma = "identity")

Arguments

formula

A formula

waves

a dataframe column or an array

ids

a dataframe column or an array

weights

a dataframe column or an array

stratum

a dataframe column or an array

cluster

a dataframe column or an array

data

A dataframe or tibble

sigma

A character or a square matrix

Value

The fit model with class 'clm'.

Examples

1
2
3
4
5
fit <- clm(score ~ wave + ageg + ecacg + qualifg,
  waves = wave, ids = id,
  weights = weight, stratum = strata, cluster = cluster,
  data = data, sigma = "exchangeable"
)

phmpacheco-ufjf/clm documentation built on Dec. 22, 2021, 8:40 a.m.