Description Usage Arguments Value
View source: R/hmi_smallfunctions.R
In hmi
the user can add a list of types. This function gives him a framework
with suggestions. Of course the user can make changes by herself/himself afterwards.
For example, if a continuous variable has only two observations left, then get_type
interpret this as a binary variable and not a continuous.
1 | list_of_types_maker(data, spike = NULL, rounding_degrees = NULL)
|
data |
the data.frame also passed to |
spike |
A numeric value or list saying which value in the semi-continuous data might be the spike. |
rounding_degrees |
A numeric vector with the presumed rounding degrees. |
a list with suggested types. Each list element has the name of a variable
in the data.frame. The elements contain a single character denoting the type of the variable.
See get_type
for details about the variable types.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.