check_model_type {halk} | R Documentation |
Check the model type and return standardized version
Description
This is a non-exported function to check whether the model type specified is available and return a standardized version of the model name. This standardized version will then feed into a S3 method for the given model.
Usage
check_model_type(model)
Arguments
model |
A character string naming the model |
Value
A standardized version of the model name, or an error if
model
doesn't exist yet
[Package halk version 0.0.5 Index]