.is_group_valid | R Documentation |
Checks if a group variable meets the requirements for analysis: - It is not missing or NULL - It exists in the data frame - It is a categorical variable - It has no missing values
.is_group_valid(data, column_name)
data |
data.frame. A data frame containing the group variable |
column_name |
character. The name of the column to check |
logical. TRUE if the group variable is valid, otherwise stops with an error message
Facundo Decunta - fdecunta@agro.uba.ar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.