Counting the Groups in R

  • Comments posted to this topic are about the item Counting the Groups in R

  • Interesting question.

    As an R novice, it's extremely difficult to deduce from the referenced documentation that COUNT can do this. None of the (rather terse) examples outline this simple use.


    Just because you're right doesn't mean everybody else is wrong.

  • I agree. Happened to come across it in a short course in Python data science, and I'm trying to repeat the skills in R. Had to search around to figure this one out.

  • But still, this question gave me new knowledge, such as what are base packages in R, how to make a list of installed packages, because without plyr package you can not run the count function. On the web, it is possible to google simple examples of using the count function, which, for example, show that it is not necessary to include square brackets next to the column name. So it's a good question for learning new things, thanks for it, Steve.

  • Glad you liked it.

  • Aaarghh, been spending too much time using Spark lately; the syntaxes are similar to R, but just different enough to...

     

    Nice reminder, thanks Steve

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply