powered by
Extract the model frame from a fitted model object.
# S3 method for splm model.frame(formula, ...)# S3 method for spautor model.frame(formula, ...)# S3 method for spglm model.frame(formula, ...)# S3 method for spgautor model.frame(formula, ...)
# S3 method for spautor model.frame(formula, ...)
# S3 method for spglm model.frame(formula, ...)
# S3 method for spgautor model.frame(formula, ...)
A model frame that contains the variables used by the formula for the fitted model object.
A fitted model object from splm(), spautor(), spglm(), or spgautor().
splm()
spautor()
spglm()
spgautor()
Other arguments. Not used (needed for generic consistency).
stats::model.frame()
spmod <- splm(z ~ water + tarp, data = caribou, spcov_type = "exponential", xcoord = x, ycoord = y ) model.frame(spmod)
Run the code above in your browser using DataLab