Checks to ensure column names are specified
Author
Brent Kaplan bkaplan.ku@gmail.com
Examples
dat <- data.frame(price = 1:5, quantity = c(10, 8, 5, 2, 0), subj = rep(1, 5))
CheckCols(dat, xcol = "price", ycol = "quantity", idcol = "subj")
#> x y id
#> 1 1 10 1
#> 2 2 8 1
#> 3 3 5 1
#> 4 4 2 1
#> 5 5 0 1
