count every element of a data Frame in R -
i'm looking way count each element of data frame, data frame big, 29 columns , na's.
i tried table(mydata)
i'm still getting error
error in table(mydata) : attempt make table >= 2^31 elements
how count each element in data frame? need like
item frequency 3 3 45 4 24 1 6 5
given know little data, try doing whatever doing first few rows. e.g.
testdata <- head(mydata, 10)
you'll see more how might have abused 'table' function.
Comments
Post a Comment