Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(dplyr) library(explore)
data <- use_data_titanic(count = FALSE) glimpse(data)
data <- data %>% clean_var(Age, name = "age") glimpse(data)
data <- use_data_beer() data %>% describe(energy_kcal_100ml)
data <- data %>% clean_var(energy_kcal_100ml, na = 42) data %>% describe(energy_kcal_100ml)
data <- create_data_person() data %>% describe(age)
data <- data %>% clean_var(age, min_val = 20, max_val = 80) data %>% describe(age)
data %>% describe(income)
data <- data %>% clean_var(income, rescale01 = TRUE) data %>% describe(income)
data[1, "handset"] <- " android " data[2, "handset"] <- "ANDROID" data %>% describe(handset)
data <- data %>% clean_var(handset, simplify_text = TRUE) data %>% describe(handset)
drop_var_no_variance()
Drop all variables with no variancedrop_var_not_numeric()
Drop all not numeric variablesdrop_var_low_variance()
Drop all variables with low variancedrop_var_by_names()
Drop variables by namedrop_var_with_na()
Drop all variables with NA-valuesdata <- use_data_beer() data %>% describe_tbl()
data %>% drop_var_no_variance() %>% describe_tbl()
data %>% drop_var_with_na() %>% describe_tbl()
drop_obs_with_na()
Drop all observations with NA-valuesdata %>% drop_obs_with_na() %>% describe_tbl()
drop_obs_if()
Drop all observations where expression is truedata %>% count_pct(type)
data %>% drop_obs_if(type == "Alkoholfrei") %>% count_pct(type)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.