View source: R/Effect-methods.R
| EffectMethods | R Documentation |
The effects package can be used with many different classes of regression models beyond the basic models described in the Effect help page. The effSources function is used to tell an Effect method where to find the information to compute effects. Details are given in the vignette Regression Models Supported by the effects Package. Unless you are trying to extend effects to a different class of regression model, you will have no use for this function.
## Default S3 method:
effSources(mod)
## S3 method for class 'gls'
effSources(mod)
## S3 method for class 'glmmPQL'
effSources(mod)
## S3 method for class 'rlmerMod'
effSources(mod)
## S3 method for class 'clm'
effSources(mod)
## S3 method for class 'clm2'
effSources(mod)
## S3 method for class 'clmm'
effSources(mod)
## S3 method for class 'betareg'
effSources(mod)
mod |
a fitted model object of the appropriate class. The default method works for many regression models for which there is no specific method. |
Effect function methods by default expect regression objects to provide certain quantities, including a model formula, coefficient estimates, and the variance matrix of the estimates, in standard places. effSources methods return a list of the necessary quantities if they are not in standard places.
See the vignette Regression Models Supported by the effects Package.
John Fox jfox@mcmaster.ca, Sanford Weisberg sandy@umn.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.