{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20120612%2F1339474267\" title=\"\u95a2\u6570\u3092\uff12\u3064 - ryamada\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\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\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\u5b66\u30e1\u30e2","published":"2012-06-12 13:11:07","image_url":null,"categories":["R","\u95a2\u6570"],"version":"1.0","author_name":"ryamada","description":"\u3053\u3061\u3089\u304b\u3089 A<-c(10,3,2,4) # A\u306e\u5b9a\u7fa9\u57df\u306f1,2,3,4 # A\u306e\u5024\u57df\u306f\u30012,4,3,10 B<-c(3,3,2,4,1,4,2,2,2,1) C<-A[B] C > C [1] 2 2 3 4 10 4 3 3 3 10 \u3068\u3044\u3046\u3088\u3046\u306a\u64cd\u4f5c\u304c\u3042\u3063\u305f \u30d9\u30af\u30c8\u30ebA\u304c\u3042\u308b\u3002\u30d9\u30af\u30c8\u30eb\u306f\u7b2ci\u8981\u7d20\u3092\u3042\u308b\u5024\u306b\u5bfe\u5fdc\u4ed8\u3051\u3066\u3044\u308b\u306e\u3067\u30011,2,...\u3092a1,a2,...\u306b\u5bfe\u5fdc\u3065\u3051\u308b\u3088\u3046\u306a\u3082\u306e 1,2,...\u304c\u3053\u306e\u30d9\u30af\u30c8\u30eb\u306e\u8868\u3059\u300c\u95a2\u6570\u300d\u306e\u5b9a\u7fa9\u57df\u3067\u3001a1,a2,...\u304c\u5024\u57df\u3068\u3057\u3066 \u3053\u306e\u30d9\u30af\u30c8\u30eb\u306e\u8868\u3059\u300c\u95a2\u6570\u300d\u306e\u5b9a\u7fa9\u57df\u3092\u5024\u57df\u3068\u3059\u308b\u5225\u306e\u30d9\u30af\u30c8\u30ebB\u304c\u3042\u3063\u3066 A\u3068B\u3068\u3067\u8868\u3055\u308c\u308bC\u304c\u3042\u308b\u2026 \u306a\u305c\u304b\u77e5\u3089\u306a\u3044\u3051\u308c\u3069\u3001\u3075\u2026","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/ryamada/","title":"\u95a2\u6570\u3092\uff12\u3064","url":"https://ryamada.hatenadiary.jp/entry/20120612/1339474267","height":"190","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://ryamada.hatenadiary.jp/","type":"rich"}