R/get_object_type.R

#'This function takes a model object and return its type
#'
#'@param regression_model The inputted model to be processed
#'
#'@return a string of type
#'

get_object_type = function(regression_model, position = 1) as.character(is(regression_model)[position])
bryanmayer/dfReg documentation built on May 13, 2019, 8:10 a.m.