Find a suitable set of labels from a fitted model object.
Usage
# S3 method for spmod
labels(object, ...)
Arguments
- object
A fitted model object from splm()
or spautor()
.
- ...
Other arguments. Not used (needed for generic consistency).
Value
A character vector containing the terms used for the fixed effects
from a fitted model object.
Examples
spmod <- splm(z ~ water + tarp,
data = caribou,
spcov_type = "exponential", xcoord = x, ycoord = y
)
labels(spmod)
#> [1] "water" "tarp"