{"provider_url":"https://hatena.blog","blog_url":"https://ryamada22.hatenablog.jp/","provider_name":"Hatena Blog","width":"100%","version":"1.0","image_url":null,"author_name":"ryamada22","categories":["\uff12\u6b21\u5143\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0","R"],"height":"190","url":"https://ryamada22.hatenablog.jp/entry/20100225/1266960153","title":"2dhist()","description":"n1 <- 500 n2 <- 300 n3 <- 200 x <- c(rnorm(n1, 0, 0.5), rnorm(n2, 5, 1), rnorm(n3, 8, 2)) y <- c(rnorm(n1, 0, 2), rnorm(n2, 3, 2), rnorm(n3, -3, 1)) library(gregmisc) plot(x, y) h2d <- hist2d(x, y, show = FALSE, same.scale = TRUE, nbins = c(10,10)) fi\u001clled.contour(h2d$x, h2d$y, h2d$counts, nlevels =\u2026","published":"2010-02-25 06:22:33","author_url":"https://blog.hatena.ne.jp/ryamada22/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20100225%2F1266960153\" title=\"2dhist() - ryamada\u306e\u907a\u4f1d\u5b66\u30fb\u907a\u4f1d\u7d71\u8a08\u5b66\u30e1\u30e2\" 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":"ryamada\u306e\u907a\u4f1d\u5b66\u30fb\u907a\u4f1d\u7d71\u8a08\u5b66\u30e1\u30e2"}