NLEVELS NLEVELS(f) gives the number of levels of factor f. Updated on December 4, 2017 Was this article helpful? Yes No