if (FALSE) {
# New York air quality measurements
aq <- airquality
aq <- aq[!is.na(aq$Ozone), ] # remove rows with missing response values
# Default variable roles
guide_setup(aq, path = "some/path/aq", dv = "Ozone")
# User specified variable roles
var.roles <- c("Ozone" = "d", "Solar.R" = "n", "Wind" = "n", "Temp" = "c",
"Month" = "p", "Day" = "p")
guide_setup(aq, path = "some/path/aq", var.roles = var.roles)
}
Run the code above in your browser using DataLab