Questions R count distinct character of days ( n_distinct, nlevels(as.factor()) str_count() are not working) byMRMay 18, 2024