Open mbcann01 opened 8 months ago
Probably at the end of 5.5.5 nesting functions. Several of them were struggling in with making factors using:
yn_levs <- c(0, 1)
yn_labs <- c("No", "Yes")
factor(x, yn_levs, yn_labs)
show them how this works. Maybe with the seq() example from very early on.
Probably at the end of 5.5.5 nesting functions. Several of them were struggling in with making factors using:
yn_levs <- c(0, 1)
yn_labs <- c("No", "Yes")
factor(x, yn_levs, yn_labs)
show them how this works. Maybe with the seq() example from very early on.