lgcm: Create a latent growth curve model

View source: R/lgcm.R

lgcmR Documentation

Create a latent growth curve model

Description

This function creates a lgcm object representing a linear latent growth curve model

Usage

lgcm(timepoints = 0, intercept.variance = 0, slope.variance = 0,
  residual.variance = 0, intercept.slope.covariance = 0, sample.size = 0,
  intercept.mean = 0, slope.mean = 0)

Arguments

timepoints

Vector of time points of measurement occasions

intercept.variance

Individual differences in intercept

slope.variance

Individual differences in slopes

residual.variance

Residual variance or inverse of the precision of measurement

intercept.slope.covariance

The covariance between latent intercept and latent slope

sample.size

Number of cases

intercept.mean

Mean of the latent intercept (average score at intercept)

slope.mean

Mean of the latent slope (average linear rate of change)


brandmaier/semper documentation built on April 20, 2024, 4:23 p.m.