I'm looking for a way to count each element of my data frame, but that data frame is very big, with 29 columns and some NA's.
I already tried with table(myData)
but I'm still getting the error
Error in table(myData) : attempt to make a table with >= 2^31 elements
How do I count each element in the data frame? I need something like
item frequency
3 3
45 4
24 1
6 5
答案 0 :(得分:0)
鉴于我们对您的数据知之甚少,我会尝试用前几行做任何事情。 E.g。
testData <- head(myData, 10)
你可能会更清楚地看到你如何滥用这张桌子&#39;功能