mkrandom {MFDA}R Documentation

Generating Random Effects for cluster model

Description

Generate entries representing random effect matrix

Usage

mkrandom(formula, data)

Arguments

formula Symbolic description of the random effects.
data Data frame.

Details

This function generates random effects terms from simple grouping variables, for use in nonparametric mixed-effect models as described in Gu and Ma (2003a, b).

Value

A list of three components.

z Z matrix.
sigma Sigma matrix to be evaluated through sigma$fun(para,sigma$env).
init Initial parameter values.

Note

This program intrinsic function for MFclust. User cannot specify the parameters.

Author(s)

pingma@uiuc.edu


[Package MFDA version 1.1-1 Index]