data_helpers | R Documentation |
These related functions are intended to analyze a single data vector (e.g. column from a dataset) and help predict its classification, or other relevant attributes. These are simple yet opionated convenience functions.
number_of_missing(x)
is_dichotomous(x)
x |
A vector of any of the atomic types (see [ |
The functions that are currently supported are:
number_of_missing()
returns the number of missing values in a vector
is_dichotomous()
returns TRUE if the vector is dichotomous, FALSE otherwise
Returns a single value determined by the individual functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.