sfl2sl: Convert an sformlist object to a statslist object

Description Usage Arguments Details Author(s) See Also

Description

Converts an sformlist object to a statslist object, which is compatible with rem() in Butts's relevent package.

Usage

1
2
sfl2sl(sformlist,exclude=NULL,eventlist=NULL)
sfl2statslist(sformlist,type=1)

Arguments

sformlist

an object of class(sformlist)

exclude

character vector, optional but useful if excluding events later. Must supply eventlist if non-null.

eventlist

optional, a two column matrix of events

type

integer indicating global or local statslist position. Defaults to 1.

Details

sfl2sl is an internal function used by gen.sformlist and should not normally be of any use to users.

sfl2statslist, however, will nicely convert any object returned by gen.sformlist or glb.sformlist into a statslist object. This is useful for constructing s-form models without intercepts passed from gen.intercepts.

Author(s)

Christopher Steven Marcum

See Also

gen.sformlist, slbind


informR documentation built on May 1, 2019, 9:22 p.m.