A new Influence object needs to be created for each combination of a model and focus term.
For example, you might compare the inflence of the same term in two separate models:
influ1 = Influence$new(model1,'year')
influ2 = Influence$new(model2,'year')
Arguments
- .
Not sure how this works
- model
The model for which the influence of terms will be determined
- data
The data which was used to fit the model (required for some types of models that do not store the data)
- response
The response term in the model
- focus
The focus term for which influence is to be calculated.