View source: R/get-forecast-type.R
get_type | R Documentation |
Internal helper function to get the type of a vector (usually of observed or predicted values). The function checks whether the input is a factor, or else whether it is integer (or can be coerced to integer) or whether it's continuous.
get_type(x)
x |
Input the type should be determined for. |
Character vector of length one with either "classification", "integer", or "continuous".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.