{"type":"rich","published":"2017-06-11 14:33:03","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://anpontan382.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/anpontan382/","description":"deplyr\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u5b9f\u969b\u306b\u5b9f\u884c\u3057\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 #deplyr\u8aad\u307f\u8fbc\u307f library(dplyr) #iris\u8aad\u307f\u8fbc\u307f iris <- datasets::iris #\u7a2e\u985e\u3054\u3068\u306b\u4f55\u500b\u3042\u308b\u306e\u304b\u30af\u30ed\u30b9\u96c6\u8a08 iris %>% dplyr::group_by(Species) %>% dplyr::summarise(total=n()) \u5b9f\u884c\u7d50\u679c\u306f\u3053\u3093\u306a\u611f\u3058\u3002 # A tibble: 3 \u00d7 2 Species total 1 setosa 50 2 versicolor 50 3 virginica 50\u6a19\u6e96\u306etable(iris$Species)\u3067\u3082\u540c\u69d8\u306e\u5024\u304c\u3068\u308c\u307e\u3059\u3002 \u307b\u2026","author_name":"anpontan382","width":"100%","height":"190","categories":["R"],"title":"\u3010R\u3011dplyr\u3067\u30af\u30ed\u30b9\u96c6\u8a08","url":"https://anpontan382.hatenablog.com/entry/2017/06/11/143303","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanpontan382.hatenablog.com%2Fentry%2F2017%2F06%2F11%2F143303\" title=\"\u3010R\u3011dplyr\u3067\u30af\u30ed\u30b9\u96c6\u8a08 - R\u7b4b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"R\u7b4b"}