R/ntypes.R

# Copyright (c) 2015 Santiago Barreda
# All rights reserved.


ntypes = function (vector) length (levels(as.factor(as.character(vector))))

Try the phonTools package in your browser

Any scripts or data that you put into this service are public.

phonTools documentation built on May 1, 2019, 6:26 p.m.