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

Popular posts from this blog

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -