{"id":869,"date":"2023-02-01T13:15:49","date_gmt":"2023-06-23T22:33:38","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/"},"modified":"2025-08-01T03:09:10","modified_gmt":"2025-07-31T18:09:10","slug":"r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/","title":{"rendered":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570"},"content":{"rendered":"<p>R\u306ewhich()\u95a2\u6570\u306f\u3001\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u6e80\u305f\u3059\u5024\u306e\u4f4d\u7f6e\u307e\u305f\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002R\u306eWhich()\u95a2\u6570\u306f\u3001\u8ad6\u7406\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u8fd4\u3057\u307e\u3059\u3002\u4f4d\u7f6e\u306f\u3001\u884c\u3001\u5217\u3001\u30d9\u30af\u30c8\u30eb\u306a\u3069\u3001\u3042\u3089\u3086\u308b\u3082\u306e\u306b\u95a2\u3057\u3066\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>R\u306ewhich()\u95a2\u6570\u306e\u6587\u6cd5<\/h2>\n<p>which\uff08\u30a6\u30a3\u30c3\u30c1\uff09\u95a2\u6570\uff1aR\u306ewhich\u95a2\u6570\u306f\u3001\u8ad6\u7406\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>x<span class=\"token punctuation\">,<\/span>arr.ind <span class=\"token operator\">=<\/span> F<span class=\"token punctuation\">,<\/span>useNames <span class=\"token operator\">=<\/span> F<span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\u3069\u3053<\/p>\n<ul class=\"post-ul\">\n<li>X = An input logical vector.<\/li>\n<li>Arr.ind = Returns the array indices if x is an array.<\/li>\n<li>useNames = Indicates the dimension names of an array.<\/li>\n<\/ul>\n<h2>which()\u95a2\u6570\u306e\u7c21\u5358\u306a\u4f8b<\/h2>\n<p>\u3067\u306f\u3001\u95a2\u6570\u306e\u5b9a\u7fa9\u3068\u305d\u306e\u52d5\u4f5c\u306b\u3064\u3044\u3066\u7406\u89e3\u3057\u307e\u3057\u305f\u306d\u3002\u3055\u3042\u3001\u5b66\u3093\u3060\u3053\u3068\u3092\u5b9f\u969b\u306b\u9069\u7528\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u308c\u304c\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3059\u308b\u304b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002 (Sore ga dono y\u014d ni kin\u014d suru ka mite mimash\u014d.)<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>letters<span class=\"token operator\">==<\/span><span class=\"token string\">\"p\"<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\u5341\u516d<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>letters<span class=\"token operator\">==<\/span><span class=\"token string\">\"n\"<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\uff11\uff14<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>letters<span class=\"token operator\">==<\/span><span class=\"token string\">\"l\"<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\uff11\uff12<\/p>\n<p>\u300cletters\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u82f1\u8a9e\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u516826\u6587\u5b57\u304c\u9806\u756a\u306b\u4e26\u3093\u3060\u7d44\u307f\u8fbc\u307f\u5b9a\u6570\u3067\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u3067\u8868\u793a\u3055\u308c\u308b\u51fa\u529b\u306f\u3001\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u5185\u306e\u5404\u6587\u5b57\u306e\u4f4d\u7f6e\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u898b\u3066\u3044\u305f\u3060\u3051\u308b\u901a\u308a\u3001\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u300cp\u300d\u306f16\u756a\u76ee\u3067\u3042\u308a\u3001\u300cl\u300d\u3068\u300cn\u300d\u306f\u305d\u308c\u305e\u308c14\u756a\u76ee\u306812\u756a\u76ee\u3067\u3059\u3002<\/p>\n<p>\u4eca\u5ea6\u306fwhich\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u5b66\u3073\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30d9\u30af\u30c8\u30eb\u3092\u4f7f\u7528\u3057\u3066which()\u95a2\u6570\u3092\u4f7f\u3046\u3002<\/h2>\n<p>\u4eca\u3001R\u8a00\u8a9e\u3067\u30d9\u30af\u30c8\u30eb\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u5f8cwhich\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u4f4d\u7f6e\u3092\u8ffd\u8de1\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"token comment\">#creating a vector <\/span>\r\ndf<span class=\"token operator\">&lt;-<\/span> c<span class=\"token punctuation\">(<\/span><span class=\"token number\">5<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">4<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">3<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"token comment\">#Postion of 5<\/span>\r\nwhich<span class=\"token punctuation\">(<\/span>df<span class=\"token operator\">==<\/span><span class=\"token number\">5<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\u79c1\u306e\u540d\u524d\u306f\u30c8\u30e0\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"token comment\">#Position of 1<\/span>\r\nwhich<span class=\"token punctuation\">(<\/span>df<span class=\"token operator\">==<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>5\u3064<\/p>\n<pre class=\"post-pre\"><code>#Position of values greater than 2\r\nwhich(df&gt;2)\r\n<\/code><\/pre>\n<p>\uff11\u3001\uff12\u3001\uff13\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001\uff11\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3060\u3051\u3067\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u7d20\u6674\u3089\u3057\u3044\uff01R\u306ewhich()\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u5165\u529b\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u8fd4\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e21\u3057\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u51fa\u529b\u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u5148\u306e\u4f8b\u3067\u898b\u305f\u3088\u3046\u306b\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u51fa\u529b\u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306bwhich()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068<\/h2>\n<p>\u3055\u3066\u3001R\u8a00\u8a9e\u306b\u304a\u3044\u3066\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306bwhich\u95a2\u6570\u3092\u3069\u306e\u3088\u3046\u306b\u9069\u7528\u3059\u308b\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>df<span class=\"token operator\">&lt;-<\/span>datasets<span class=\"token operator\">::<\/span>BOD\r\ndf\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>    Time  demand\r\n1    1    8.3\r\n2    2   10.3\r\n3    3   19.0\r\n4    4   16.0\r\n5    5   15.6\r\n6    7   19.8\r\n<\/code><\/pre>\n<p>\u3053\u306e\u76ee\u7684\u306e\u305f\u3081\u306b\u3001\u79c1\u305f\u3061\u306fBOD\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u300cTime\u300d\u3068\u300cDemand\u300d\u3068\u3044\u30462\u3064\u306e\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u5225\u306e\u7d44\u307f\u8fbc\u307f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u300cwhich\u300d\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u8a66\u307f\u3092\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>df<span class=\"token operator\">$<\/span>demand<span class=\"token operator\">==<\/span><span class=\"token string\">'10.3'<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>2\r\n<\/code><\/pre>\n<p>which()\u95a2\u6570\u306b\u306f\u5024\u306e\u30ea\u30b9\u30c8\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u304b\u30892\u3064\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>df<span class=\"token operator\">$<\/span>demand<span class=\"token operator\">==<\/span>c<span class=\"token punctuation\">(<\/span><span class=\"token number\">8.3<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">16.0<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>1    4\r\n<\/code><\/pre>\n<h2>which()\u3092\u4f7f\u3063\u3066\u6570\u5024\u306e\u5024\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306e\u5217\u3092\u898b\u3064\u3051\u308b\u3002<\/h2>\n<p>\u6570\u5024\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30c7\u30fc\u30bf\u5185\u306e\u5217\u540d\u3092\u898b\u3064\u3051\u308b\u305f\u3081\u306b\u3001which() \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>R\u8a00\u8a9e\u3067\u306e\u52d5\u4f5c\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u79c1\u305f\u3061\u306f\u300cIris\u300d\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>df<span class=\"token operator\">&lt;-<\/span>datasets<span class=\"token operator\">::<\/span>iris\r\ndf\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>   Sepal.Length  Sepal.Width   Petal.Length   Petal.Width  Species\r\n1            5.1         3.5          1.4         0.2     setosa\r\n2            4.9         3.0          1.4         0.2     setosa\r\n3            4.7         3.2          1.3         0.2     setosa\r\n4            4.6         3.1          1.5         0.2     setosa\r\n5            5.0         3.6          1.4         0.2     setosa\r\n6            5.4         3.9          1.7         0.4     setosa\r\n7            4.6         3.4          1.4         0.3     setosa\r\n8            5.0         3.4          1.5         0.2     setosa\r\n9            4.4         2.9          1.4         0.2     setosa\r\n10           4.9         3.1          1.5         0.1     setosa\r\n11           5.4         3.7          1.5         0.2     setosa\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>test<span class=\"token operator\">&lt;-<\/span>which<span class=\"token punctuation\">(<\/span>sapply<span class=\"token punctuation\">(<\/span>df<span class=\"token punctuation\">,<\/span>is.numeric<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span>\r\ncolnames<span class=\"token punctuation\">(<\/span>df<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">[<\/span>test<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>\"Sepal.Length\" \"Sepal.Width\"  \"Petal.Length\" \"Petal.Width\" \r\n<\/code><\/pre>\n<p>\u51fa\u529b\u306b\u3088\u308b\u3068\u3001\u30a2\u30e4\u30e1\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f5\u3064\u306e\u5217\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3046\u30614\u3064\u306f\u6570\u5024\u5217\u3067\u3042\u308a\u30011\u3064\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\uff08\u7a2e\uff09\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001which() \u30e1\u30bd\u30c3\u30c9\u3068\u3068\u3082\u306b R \u306e sapply \u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>which()\u95a2\u6570\u306f\u3001\u5165\u529b\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u6570\u5024\u306e\u5217\u306e\u540d\u524d\u306e\u307f\u3092\u8fd4\u3057\u307e\u3057\u305f\u3002\u3082\u3057\u30c7\u30fc\u30bf\u30a2\u30ca\u30ea\u30b9\u30c8\u3067\u3042\u308c\u3070\u3001which()\u95a2\u6570\u306f\u975e\u5e38\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<h2>R\u3067\u306e\u884c\u5217\u306e\u6a5f\u80fd\u306f\u4f55\u3067\u3059\u304b\uff1f (R de no gy\u014dretsu no kin\u014d wa nan desu ka?)<\/h2>\n<p>\u3064\u3044\u306b\u3001R\u306e\u884c\u5217\u306b\u5230\u7740\u3057\u307e\u3057\u305f\u3002R\u8a00\u8a9e\u3067\u306f\u3001which()\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u884c\u5217\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306farr.index\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066\u3082\u5b66\u3073\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u7b2c\u4e00\u306b\u3001\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>df<span class=\"token operator\">&lt;-<\/span>matrix<span class=\"token punctuation\">(<\/span>rep<span class=\"token punctuation\">(<\/span>c<span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><span class=\"token number\">4<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span>nrow <span class=\"token operator\">=<\/span> <span class=\"token number\">4<\/span><span class=\"token punctuation\">)<\/span>\r\ndf\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>       [,1] [,2] [,3]\r\n[1,]    1    0    1\r\n[2,]    0    1    1\r\n[3,]    1    1    0\r\n[4,]    1    0    1\r\n<\/code><\/pre>\n<p>\u3059\u3054\u3044\uff01\u304d\u308c\u3044\u306a\u884c\u5217\u3092\u4f5c\u6210\u3057\u305f\u306d\u3002\u304a\u3081\u3067\u3068\u3046\u3002\u305d\u308c\u3067\u306f\u3001which() \u3092\u4f7f\u3063\u3066\u884c\u5217\u5185\u306e\u5024 &#8216;0&#8217; \u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>which<span class=\"token punctuation\">(<\/span>df<span class=\"token operator\">==<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span>arr.ind <span class=\"token operator\">=<\/span> T<span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>      row col\r\n[1,]   2   1\r\n[2,]   1   2\r\n[3,]   4   2\r\n[4,]   3   3\r\n<\/code><\/pre>\n<p>\u3046\u30fc\u3093\u3001\u3069\u306e\u95a2\u6570\u304c\u884c\u5217\u5185\u306e\u5024\u300c0\u300d\u306e\u4f4d\u7f6e\u3092\u8fd4\u3057\u3066\u304f\u308c\u305f\u304b\u306a\u3002<\/p>\n<p>\u6700\u521d\u306e\u300c0\u300d\u306e\u51fa\u73fe\u306f\u30012\u884c\u76ee\u306e1\u5217\u76ee\u3067\u3059\u3002\u6b21\u306b\u73fe\u308c\u308b\u306e\u306f\u30011\u884c\u76ee\u306e2\u5217\u76ee\u3067\u3059\u3002\u305d\u306e\u5f8c\u30014\u884c\u76ee\u306e2\u5217\u76ee\u3001\u6700\u5f8c\u306b\u306f3\u884c\u76ee\u306e3\u5217\u76ee\u306b\u73fe\u308c\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>R\u8a00\u8a9e\u306ewhich()\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u3084\u30c7\u30fc\u30bf\u30de\u30a4\u30cb\u30f3\u30b0\u3067\u6700\u3082\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u95a2\u6570\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<p>\u95a2\u6570\u306f\u30c7\u30fc\u30bf\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u793a\u3057\u307e\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u7279\u5b9a\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u306e\u304c\u96e3\u3057\u3044\u3067\u3057\u3087\u3046\u304c\u3001\u305d\u3053\u3067R\u306e which() \u95a2\u6570\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>\u4eca\u306f\u4ee5\u4e0a\u3067\u3059\u3002\u7d20\u6674\u3089\u3057\u3044\u30dd\u30b8\u30b7\u30e7\u30cb\u30f3\u30b0\u3092\u304a\u697d\u3057\u307f\u304f\u3060\u3055\u3044\uff01(Ima wa ij\u014d desu. Subarash\u012b pojishoningu o o-tanoshimi kudasai!)<\/p>\n<p>\u3082\u3063\u3068\u8aad\u3080: R\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u306ewhich()\u95a2\u6570\u306f\u3001\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u6e80\u305f\u3059\u5024\u306e\u4f4d\u7f6e\u307e\u305f\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002R\u306eWhich()\u95a2\u6570\u306f\u3001\u8ad6\u7406\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5024\u306e\u4f4d\u7f6e\u3092\u8fd4\u3057\u307e\u3059\u3002\u4f4d\u7f6e\u306f\u3001\u884c\u3001\u5217\u3001\u30d9\u30af\u30c8\u30eb\u306a\u3069\u3001\u3042\u3089\u3086\u308b\u3082\u306e\u306b\u95a2\u3057\u3066\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-869","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/r\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich\u95a2\u6570\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\" \/>\n<meta property=\"og:description\" content=\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/r\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich\u95a2\u6570\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-23T22:33:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T18:09:10+00:00\" \/>\n<meta name=\"author\" content=\"\u967d, \u5411\u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u967d, \u5411\u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"7\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/\",\"name\":\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-06-23T22:33:38+00:00\",\"dateModified\":\"2025-07-31T18:09:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\"},\"description\":\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\",\"name\":\"\u967d, \u5411\u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"caption\":\"\u967d, \u5411\u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570 - Blog - Silicon Cloud","description":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/r\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich\u95a2\u6570\/","og_locale":"ja_JP","og_type":"article","og_title":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570","og_description":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/r\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich\u95a2\u6570\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-23T22:33:38+00:00","article_modified_time":"2025-07-31T18:09:10+00:00","author":"\u967d, \u5411\u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u967d, \u5411\u5b87","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"7\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/","name":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-06-23T22:33:38+00:00","dateModified":"2025-07-31T18:09:10+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c"},"description":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"R\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306ewhich()\u95a2\u6570"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c","name":"\u967d, \u5411\u5b87","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","caption":"\u967d, \u5411\u5b87"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/r%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e3%81%aewhich%e9%96%a2%e6%95%b0\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/869\/revisions"}],"predecessor-version":[{"id":46031,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/869\/revisions\/46031"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}