Here are all the variables I\'m working with:
str(ad.train) $ Date : Factor w/ 427 levels \"2012-03-24\",\"2012-03-29\",..: 4 7 12 14 19 21 24
Perhaps as a very quick step one is to verify that you do indeed have at least 2 factors. The quick way I found was:
df %>% dplyr::mutate_all(as.factor) %>% str