Creates a default List of Functions for use with regressor().
regressor()
default_LoF(x)
Object with names and levels methods; typically of class mdm or mhp.
names
levels
mdm
mhp
Returns a named list with each element giving the regressor functions for that level.
regressor
# NOT RUN { 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 # }
Run the code above in your browser using DataCamp Workspace