Roland Tanglao
About

How to compute counts using count() in R

Aug 15, 2016

Say you want to sum up how many times a colour appears in a data table in R? code from computed-counts-first3-ig-van-01january2016-square-piechart.R

some_data_table_withcounts = count(some_data_table, "column_to_count")
# e.g. 
countcolourname = count(data3, "colourname")
# easy peasy right? as if :-)
# inch by inch

Leave a comment on github

Roland Tanglao

  • Roland Tanglao
  • roland@rolandtanglao.com
  • rtanglao
  • rtanglao

flickr.com/roland, twitter.com/rtanglao #firefox #thunderbird