parse.formula {hgwrr} | R Documentation |
Parse a HGWR formula.
Description
This function accept an R formula object and extract names of the group variable, local fixed effects, global fixed effects and random effects.
Usage
parse.formula(formula)
## S3 method for class 'push'
stack(s, x)
## S3 method for class 'pop'
stack(s)
Arguments
formula |
A |
s |
A |
x |
An object which can be appended to |
Value
A list
consists of:
- response
: name of dependent (response) variable.
- group
: name of group variable.
- random.effects
: a vector of names of random effects.
- fixed.effects
: a vector of names of fixed effects.
[Package hgwrr version 0.3-0 Index]