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