Retrieve model_type from object.

model_type(siamcat)

# S4 method for ANY
model_type(siamcat)

Arguments

siamcat

(Required). An instance of siamcat-class that contains a model_list or instance of model_list-class.

Value

The string describing type of model used or NULL.

Examples

data(siamcat_example) model_type(siamcat_example)
#> [1] "lasso"