library(logitr)
# Validate the yogurt dataset
validate_data(yogurt, outcome = "choice", obsID = "obsID")
# Validate with parameters specified
validate_data(yogurt, outcome = "choice", obsID = "obsID",
pars = c("price", "feat", "brand"))
Run the code above in your browser using DataLab