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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -