Data Science Guy
Monday, March 14, 2016
How to Count Unique/Distinct Values of A Variable in R
base R:
length(unique(mydata$colA))
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment