{"type":"rich","width":"100%","url":"https://knknkn.hatenablog.com/entry/2020/04/10/193411","version":"1.0","description":"\u554f\u984c ggplot\u3067\u306fgeom_histgram\u3092\u7528\u3044\u308b\u3068\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308b\u3002\u307e\u305f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066binwidth\u3092\u6307\u5b9a\u3059\u308b\u3068\u30d3\u30f3\u5e45\u3092\u6c7a\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 library(tidyverse) data <- c( -1, 1, 11, 27, 31) data %>% tibble() %>% ggplot(aes(x = .)) + geom_histogram(binwidth=10, color='white') \u4e0a\u56f3\u306e\u5404\u68d2\u306f\u5de6\u304b\u3089 \u300c-5 ~ 5\u300d\u300c5 ~ 10\u300d\u300c10~ 15\u300d,... \u3092\u533a\u9593\u3068\u3057\u3066\u5024\u3068\u306a\u3063\u3066\u3044\u308b\u500b\u6570\u3092\u7a4d\u307f\u4e0a\u3052\u3066\u3044\u308b\u3002 \u3060\u304c\u3001\u4f8b\u3048\u3070\u30d3\u30f3\u5e4510\u3067\u300c-10 ~ \u2026","height":"190","author_name":"chito_ng","provider_url":"https://hatena.blog","published":"2020-04-10 19:34:11","categories":["R","\u4f7f\u3044\u65b9\u30e1\u30e2(\u4e0d\u4fbf\u89e3\u6c7a)"],"title":"R\u3067\u4efb\u610f\u306e\u7bc4\u56f2\u3067\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u308a\u305f\u3044","author_url":"https://blog.hatena.ne.jp/chito_ng/","blog_title":"\u307e\u305a\u306f\u874b\u306e\u7ffc\u304b\u3089\u3002","blog_url":"https://knknkn.hatenablog.com/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/c/chito_ng/20200410/20200410183326.png","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fknknkn.hatenablog.com%2Fentry%2F2020%2F04%2F10%2F193411\" title=\"R\u3067\u4efb\u610f\u306e\u7bc4\u56f2\u3067\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u308a\u305f\u3044 - \u307e\u305a\u306f\u874b\u306e\u7ffc\u304b\u3089\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}