get_offset_name {jtools} | R Documentation |
Utility functions for generating model predictions
Description
These functions get information and data from regression models.
Usage
get_offset_name(model)
get_weights(model, data)
get_data(model, formula = NULL, warn = TRUE, ...)
get_response_name(model, ...)
Arguments
model |
The model (e.g., |
data |
For |
formula |
The formula for |
warn |
For |
... |
Arguments passed to |
Value
-
get_data()
: The data used to fit the model. -
get_response_name()
: The name of the response variable. -
get_offset_name()
: The name of the offset variable. -
get_weights()
: A list withweights_name
, the name of the weighting variable, andweights
, the weights themselves (or all 1 when there are no weights).