{"provider_name":"Hatena Blog","blog_title":"\u3044\u308d\u3044\u308d\u5009\u5eab","title":"\u3010R\u3011data.frame\u306e\u7279\u5b9a\u306e\u884c\u30fb\u5217\u306e\u5024\u3092\u4ee3\u5165\u3057\u305f\u3044","url":"https://choron81.hatenablog.com/entry/2024/06/24/000000","version":"1.0","description":"\u30fb\u304a\u984c\uff1adata.frame\u306e\u7279\u5b9a\u306e\u884c\u30fb\u5217\u306e\u5024\u3092\u4ee3\u5165\u3057\u305f\u3044\u3002 \u30fb\u9069\u5f53\u306bdata.frame\u3092\u4f5c\u6210\u3059\u308b\u3002 library(tidyverse) df <- matrix(c(1:96), nrow = 8, ncol = 12) %>% as.data.frame() df \u30fbbase\u3067\u3084\u3063\u3066\u307f\u308b\u3002\u7279\u5b9a\u306e\u30bb\u30eb\u306b\u4ee3\u5165\u3002 df[3,4] <- 100df \u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30d9\u30af\u30c8\u30eb\u3067\u3082\u6307\u5b9a\u3067\u304d\u308b\u3002 df[3:6,4] <- 100df df[3:6,4:7] <- 100df \u30fb\u884c\u4e38\u3054\u3068\u4ee3\u5165\u3059\u308b\u3002 df[3:6,] <- 100df \u30fb\u884c\u3068\u5217\u306e\u9078\u629e\u306bbool\u578b\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u3002 df[, colna\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchoron81.hatenablog.com%2Fentry%2F2024%2F06%2F24%2F000000\" title=\"\u3010R\u3011data.frame\u306e\u7279\u5b9a\u306e\u884c\u30fb\u5217\u306e\u5024\u3092\u4ee3\u5165\u3057\u305f\u3044 - \u3044\u308d\u3044\u308d\u5009\u5eab\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","published":"2024-06-24 00:00:00","image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","author_name":"choron81","height":"190","provider_url":"https://hatena.blog","blog_url":"https://choron81.hatenablog.com/","categories":["R","Tips"],"type":"rich","author_url":"https://blog.hatena.ne.jp/choron81/"}