Find a suitable set of labels from a fitted model object.

# S3 method for splm
labels(object, ...)

# S3 method for spautor
labels(object, ...)

# S3 method for spglm
labels(object, ...)

# S3 method for spgautor
labels(object, ...)

Arguments

object

A fitted model object from splm(), spautor(), spglm(), or spgautor().

...

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"