powered by
Function to define basic functionality needed for a custom model that does not fit the general framework of models that align with adlp_component
custom_model(formula, data, ...)# S3 method for custom_model update(object, data, ...)
# S3 method for custom_model update(object, data, ...)
An object of class custom_model. custom_model is a list that stores the required formula to update the model and the data used to update the model.
custom_model
Formula needed that defines all variables required for the model
data to update custom model
Additional variables for update
Object of type custom model
custom model
Custom model should support the S3 method formula and update.
formula
update
data("test_claims_dataset") custom_model <- custom_model(claims~., data=test_claims_dataset)
Run the code above in your browser using DataLab