View source: R/summary.stratafit.R
summary.stratafit | R Documentation |
If a model is fitted with stratafit()
, then
this summary function produces summary output for each level
of the stratification variable in the same style as the
summary.slmfit()
function.
## S3 method for class 'stratafit'
summary(object, ...)
object |
is an object generated from |
... |
further arguments passed to or from other methods. |
a list with
model formula
a table of fixed effects estimates and associated standard errors
estimated spatial covariance parameter estimates
residuals
generalized r-squared.
data(exampledataset) ## load a toy data set
exampledataset$strata <- c(rep("A", 25), rep("B", 15))
strataobj <- stratafit(formula = counts ~ pred1 + pred2,
data = exampledataset, stratacol = "strata",
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
summary(strataobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.