Default List of functions

Share:

Description

Creates a default List of Functions for use with regressor().

Usage

1

Arguments

x

Object with names and levels methods; typically of class mdm or mhp.

Value

Returns a named list with each element giving the regressor functions for that level.

Author(s)

Robin K. S. Hankin

See Also

regressor

Examples

1
2
3
4
5
6
data(mtoys)

default_LoF(toy_mm)  # note list names == levels(toy_mm)

regressor(toy_mm)           # use default
regressor(toy_mm , toy_LoF) # use a bespoke set