DSC-WAV FacDev 2022
Nicholas J. Horton and Benjamin S. Baumer
June 15, 2022
Link to Dana Center Design Principles
The course supports students in developing the tenacity, persistence, and perseverance necessary for learning data science, for using mathematics and statistics to tackle authentic problems, and for being successful in post-high school endeavors.
Thanks to Julia Evans!
Student question: How do I convert a variable with different numeric codes to a categorical variable that combines some of the groups?
Possible response by instructor, (see reprex.R
)
reprex::reprex({
suppressWarnings(library(tidyverse))
x <- c(3, 2, 1, 1, 4, 5, 6)
ds <- tibble(x) %>%
mutate(x_grp =
case_when(
x %in% c(1, 2, 3) ~ "sustainable",
x == 4 ~ "experimental",
x %in% c(5, 6) ~ "fossil fuel"
)
)
ds
})
shiny01
) with single reactive input and single reactive outputshiny02
) then (in groups) add one additional bell or whistleshiny03
)