my_update {StackImpute} | R Documentation |
my_update
Description
Function for updating a model fit using either new data or a new model structure
Usage
my_update(mod, formula = NULL, data = NULL, weights = NULL)
Arguments
mod |
object of class 'glm' or 'coxph' |
formula |
formula for updated model fit, default = no change |
data |
data used for updated model fit, default = no change |
weights |
weights used for updated model fit, default = no change |
Value
the updated model fit object of the same class as the given model
[Package StackImpute version 0.1.0 Index]