formula.spmodel | R Documentation |
Return formula used by a fitted model object.
## S3 method for class 'splm'
formula(x, ...)
## S3 method for class 'spautor'
formula(x, ...)
## S3 method for class 'spglm'
formula(x, ...)
## S3 method for class 'spgautor'
formula(x, ...)
x |
A fitted model object from |
... |
Other arguments. Not used (needed for generic consistency). |
The formula used by a fitted model object.
spmod <- splm(z ~ water + tarp,
data = caribou,
spcov_type = "exponential", xcoord = x, ycoord = y
)
formula(spmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.