variableTypes | R Documentation |
Classify the variables between 5 types: "numeric", "categorical", "binary", "date", or NA.
variableTypes(table)
table |
Tibble. |
Tibble with the variables type and classification.
library(PatientProfiles)
x <- dplyr::tibble(
person_id = c(1, 2),
start_date = as.Date(c("2020-05-02", "2021-11-19")),
asthma = c(0, 1)
)
variableTypes(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.