{"id":2969,"date":"2023-07-19T20:47:38","date_gmt":"2023-07-19T20:47:38","guid":{"rendered":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/"},"modified":"2023-07-19T20:47:38","modified_gmt":"2023-07-19T20:47:38","slug":"pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be","status":"publish","type":"post","link":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/","title":{"rendered":"R \u092e\u0947\u0902 pivot_longer() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u092e\u0947\u0902 <a href=\"https:\/\/tidyr.tidyverse.org\/\" target=\"_blank\" rel=\"noopener\">Tidyr<\/a> \u092a\u0948\u0915\u0947\u091c \u0915\u0947 <strong>pivot_longer()<\/strong> \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0921\u0947\u091f\u093e \u0915\u0947 \u090f\u0915 \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u0935\u093f\u0938\u094d\u0924\u0943\u0924 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u0938\u0947 \u0932\u0902\u092c\u0947 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u092e\u0947\u0902 \u0918\u0941\u092e\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093f\u092f\u093e \u091c\u093e \u0938\u0915\u0924\u093e \u0939\u0948\u0964<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u092f\u0939 \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u092e\u0942\u0932 \u0938\u093f\u0902\u091f\u0948\u0915\u094d\u0938 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u093e \u0939\u0948:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><b><span style=\"color: #008000;\">library<\/span> (tidyr)\n\n<strong>df %&gt;% pivot_longer(cols=c(' <span style=\"color: #ff0000;\">var1<\/span> ', ' <span style=\"color: #ff0000;\">var2<\/span> ', ...),\n                    names_to=' <span style=\"color: #ff0000;\">col1_name<\/span> ',\n                    values_to=' <span style=\"color: #ff0000;\">col2_name<\/span> ')<\/strong>\n<\/b><\/span><\/pre>\n<p> <span style=\"color: #000000;\">\u0938\u094b\u0928\u093e:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>cols<\/strong> : \u092a\u093f\u0935\u094b\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u0949\u0932\u092e \u0915\u0947 \u0928\u093e\u092e<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Names_to<\/strong> : \u0928\u090f \u0935\u0930\u094d\u0923 \u0938\u094d\u0924\u0902\u092d \u0915\u093e \u0928\u093e\u092e<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>values_to<\/strong> : \u0928\u090f \u092e\u093e\u0928 \u0915\u0949\u0932\u092e \u0915\u093e \u0928\u093e\u092e<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u0909\u0926\u093e\u0939\u0930\u0923 \u0926\u093f\u0916\u093e\u0924\u093e \u0939\u0948 \u0915\u093f \u0935\u094d\u092f\u0935\u0939\u093e\u0930 \u092e\u0947\u0902 \u0907\u0938 \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u0938\u0902\u092c\u0902\u0927\u093f\u0924:<\/strong> <a href=\"https:\/\/statorials.org\/hi\/\u0932\u0902\u092c\u093e-\u0921\u0947\u091f\u093e-\u092c\u0928\u093e\u092e-\u0935\u093f\u0938\u094d\u0924\u0943\u0924-\u0921\u0947\u091f\u093e\/\" target=\"_blank\" rel=\"noopener\">\u0932\u0902\u092c\u093e \u092f\u093e \u091a\u094c\u0921\u093c\u093e \u0921\u0947\u091f\u093e: \u0915\u094d\u092f\u093e \u0905\u0902\u0924\u0930 \u0939\u0948?<\/a><\/span><\/p>\n<h3> <strong><span style=\"color: #000000;\">\u0909\u0926\u093e\u0939\u0930\u0923: R \u092e\u0947\u0902 pivot_longer() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902<\/span><\/strong><\/h3>\n<p> <span style=\"color: #000000;\">\u092e\u093e\u0928 \u0932\u0940\u091c\u093f\u090f \u0915\u093f \u0939\u092e\u093e\u0930\u0947 \u092a\u093e\u0938 \u0906\u0930 \u092e\u0947\u0902 \u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u0921\u0947\u091f\u093e \u092b\u094d\u0930\u0947\u092e \u0939\u0948 \u091c\u094b \u0935\u093f\u092d\u093f\u0928\u094d\u0928 \u0935\u0930\u094d\u0937\u094b\u0902 \u092e\u0947\u0902 \u0935\u093f\u092d\u093f\u0928\u094d\u0928 \u092c\u093e\u0938\u094d\u0915\u0947\u091f\u092c\u0949\u0932 \u0916\u093f\u0932\u093e\u0921\u093c\u093f\u092f\u094b\u0902 \u0926\u094d\u0935\u093e\u0930\u093e \u092c\u0928\u093e\u090f \u0917\u090f \u0905\u0902\u0915\u094b\u0902 \u0915\u0940 \u0938\u0902\u0916\u094d\u092f\u093e \u0926\u093f\u0916\u093e\u0924\u093e \u0939\u0948:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#create data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (player=c('A', 'B', 'C', 'D'),\n                 year1=c(12, 15, 19, 19),\n                 year2=c(22, 29, 18, 12))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  player year1 year2\n1 to 12 22\n2 B 15 29\n3 C 19 18\n4 D 19 12<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">\u0939\u092e \u0907\u0938 \u0921\u0947\u091f\u093e \u092b\u093c\u094d\u0930\u0947\u092e \u0915\u094b \u0932\u0902\u092c\u0947 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u092e\u0947\u0902 \u0918\u0941\u092e\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f <strong>pivot_longer()<\/strong> \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008000;\">library<\/span> (tidyr)\n\n<span style=\"color: #008080;\">#pivot the data frame into a long format\n<\/span>df %&gt;% pivot_longer(cols=c(' <span style=\"color: #ff0000;\">year1<\/span> ', ' <span style=\"color: #ff0000;\">year2<\/span> '),\n                    names_to=' <span style=\"color: #ff0000;\">year<\/span> ',\n                    values_to=' <span style=\"color: #ff0000;\">points<\/span> ')\n\n# A tibble: 8 x 3\n  player year points\n      \n1 A year1 12\n2 A year2 22\n3 B year1 15\n4 B year2 29\n5 C year1 19\n6 C year2 18\n7 D year1 19\n8 D year2 12\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">\u0927\u094d\u092f\u093e\u0928 \u0926\u0947\u0902 \u0915\u093f \u0915\u0949\u0932\u092e \u0928\u093e\u092e <strong>\u0935\u0930\u094d\u0937 1<\/strong> \u0914\u0930 <strong>\u0935\u0930\u094d\u0937 2<\/strong> \u0905\u092c &#8220;\u0935\u0930\u094d\u0937&#8221; \u0928\u093e\u092e\u0915 \u090f\u0915 \u0928\u090f \u0915\u0949\u0932\u092e \u092e\u0947\u0902 \u092e\u093e\u0928 \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u090f \u091c\u093e\u0924\u0947 \u0939\u0948\u0902 \u0914\u0930 \u0907\u0928 \u092e\u0942\u0932 \u0915\u0949\u0932\u092e\u094b\u0902 \u0915\u0947 \u092e\u093e\u0928 &#8220;\u092c\u093f\u0902\u0926\u0941&#8221; \u0928\u093e\u092e\u0915 \u090f\u0915 \u0928\u090f \u0915\u0949\u0932\u092e \u092e\u0947\u0902 \u0930\u0916\u0947 \u091c\u093e\u0924\u0947 \u0939\u0948\u0902\u0964<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u0905\u0902\u0924\u093f\u092e \u092a\u0930\u093f\u0923\u093e\u092e \u090f\u0915 \u0932\u0902\u092c\u093e \u0921\u0947\u091f\u093e \u092b\u093c\u094d\u0930\u0947\u092e \u0939\u0948\u0964<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u0928\u094b\u091f<\/strong> : \u0906\u092a <a href=\"https:\/\/tidyr.tidyverse.org\/reference\/pivot_longer.html\" target=\"_blank\" rel=\"noopener\">\u092f\u0939\u093e\u0902<\/a> <strong>pivot_longer()<\/strong> \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u0947 \u0932\u093f\u090f \u0938\u0902\u092a\u0942\u0930\u094d\u0923 \u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c \u092a\u093e \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u0905\u0924\u093f\u0930\u093f\u0915\u094d\u0924 \u0938\u0902\u0938\u093e\u0927\u0928<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u092c\u0924\u093e\u0924\u0947 \u0939\u0948\u0902 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 \u0905\u0928\u094d\u092f \u0938\u093e\u092e\u093e\u0928\u094d\u092f \u092b\u093c\u0902\u0915\u094d\u0936\u0902\u0938 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/hi\/\u0927\u0941\u0930\u0940_\u0935\u094d\u092f\u093e\u092a\u0915-\u0906\u0930\/\" target=\"_blank\" rel=\"noopener\">\u0906\u0930 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0935\u093e\u0907\u0921\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/a><br \/> <a href=\"https:\/\/statorials.org\/hi\/\u0906\u0930-\u092e\u0947\u0902-\u092a\u094d\u0930\u0938\u093e\u0930-\u0938\u092e\u093e\u0930\u094b\u0939\/\" target=\"_blank\" rel=\"noopener\">\u0906\u0930 \u092e\u0947\u0902 \u0938\u094d\u092a\u094d\u0930\u0947\u0921 \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/a><br \/> <a href=\"https:\/\/statorials.org\/hi\/\u0906\u0930-\u092e\u0947\u0902-\u092b\u093c\u0902\u0915\u094d\u0936\u0928-\u0907\u0915\u091f\u094d\u0920\u093e-\u0915\u0930\u0947\u0902\/\" target=\"_blank\" rel=\"noopener\">\u0906\u0930 \u092e\u0947\u0902 \u0915\u0932\u0947\u0915\u094d\u091f \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/a><br \/> <a href=\"https:\/\/statorials.org\/hi\/\u0906\u0930-\u092e\u0947\u0902-\u0905\u0932\u0917-\u092b\u093c\u0902\u0915\u094d\u0936\u0928\/\" target=\"_blank\" rel=\"noopener\">\u0906\u0930 \u092e\u0947\u0902 \u090f\u0915 \u0905\u0932\u0917 \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/a><br \/> <a href=\"https:\/\/statorials.org\/hi\/\u0906\u0930-\u092e\u0947\u0902-\u092f\u0942\u0928\u093e\u0907\u091f-\u092b\u093c\u0902\u0915\u094d\u0936\u0928\/\" target=\"_blank\" rel=\"noopener\">\u0906\u0930 \u092e\u0947\u0902 \u092f\u0942\u0928\u093e\u0907\u091f \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0915\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0921\u0947\u091f\u093e \u0915\u0947 \u090f\u0915 \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u0935\u093f\u0938\u094d\u0924\u0943\u0924 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u0938\u0947 \u0932\u0902\u092c\u0947 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u092e\u0947\u0902 \u0918\u0941\u092e\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093f\u092f\u093e \u091c\u093e \u0938\u0915\u0924\u093e \u0939\u0948\u0964 \u092f\u0939 \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u092e\u0942\u0932 \u0938\u093f\u0902\u091f\u0948\u0915\u094d\u0938 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u093e \u0939\u0948: library (tidyr) df %&gt;% pivot_longer(cols=c(&#8216; var1 &#8216;, &#8216; var2 &#8216;, &#8230;), names_to=&#8217; col1_name &#8216;, values_to=&#8217; col2_name &#8216;) \u0938\u094b\u0928\u093e: cols [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2969","post","type-post","status-publish","format-standard","hentry","category-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902<\/title>\n<meta name=\"description\" content=\"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/hi\/pivot_r-\u0938\u0947-\u0905\u0927\u093f\u0915-\u0932\u0902\u092c\u093e\/\" \/>\n<meta property=\"og:locale\" content=\"hi_IN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\" \/>\n<meta property=\"og:description\" content=\"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/hi\/pivot_r-\u0938\u0947-\u0905\u0927\u093f\u0915-\u0932\u0902\u092c\u093e\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T20:47:38+00:00\" \/>\n<meta name=\"author\" content=\"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0926\u094d\u0935\u093e\u0930\u093e \u0932\u093f\u0916\u093f\u0924\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u092e\u093f\u0928\u091f\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/\",\"url\":\"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/\",\"name\":\"\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/hi\/#website\"},\"datePublished\":\"2023-07-19T20:47:38+00:00\",\"dateModified\":\"2023-07-19T20:47:38+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/hi\/#\/schema\/person\/94100fc65c6aa3462638578b0f7b3340\"},\"description\":\"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/#breadcrumb\"},\"inLanguage\":\"hi-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u092e\u0941\u0916\u092a\u0943\u0937\u094d\u0920\",\"item\":\"https:\/\/statorials.org\/hi\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R \u092e\u0947\u0902 pivot_longer() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/hi\/#website\",\"url\":\"https:\/\/statorials.org\/hi\/\",\"name\":\"Statorials\",\"description\":\"\u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940\u092f \u092f\u094b\u0917\u094d\u092f\u0924\u093e \u0915\u0947 \u0932\u093f\u090f \u0906\u092a\u0915\u093e \u092e\u093e\u0930\u094d\u0917\u0926\u0930\u094d\u0936\u0915!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/hi\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"hi-IN\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/hi\/#\/schema\/person\/94100fc65c6aa3462638578b0f7b3340\",\"name\":\"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/statorials.org\/hi\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/hi\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/hi\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928\"},\"description\":\"\u0928\u092e\u0938\u094d\u0924\u0947, \u092e\u0948\u0902 \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u0939\u0942\u0902, \u090f\u0915 \u0938\u0947\u0935\u093e\u0928\u093f\u0935\u0943\u0924\u094d\u0924 \u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940 \u092a\u094d\u0930\u094b\u092b\u0947\u0938\u0930 \u091c\u094b \u0905\u092c \u0938\u092e\u0930\u094d\u092a\u093f\u0924 Statorials \u0936\u093f\u0915\u094d\u0937\u0915 \u092c\u0928 \u0917\u092f\u093e \u0939\u0948\u0964 \u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940 \u0915\u0947 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 \u0935\u094d\u092f\u093e\u092a\u0915 \u0905\u0928\u0941\u092d\u0935 \u0914\u0930 \u0935\u093f\u0936\u0947\u0937\u091c\u094d\u091e\u0924\u093e \u0915\u0947 \u0938\u093e\u0925, \u092e\u0948\u0902 Statorials \u0915\u0947 \u092e\u093e\u0927\u094d\u092f\u092e \u0938\u0947 \u091b\u093e\u0924\u094d\u0930\u094b\u0902 \u0915\u094b \u0938\u0936\u0915\u094d\u0924 \u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0905\u092a\u0928\u093e \u091c\u094d\u091e\u093e\u0928 \u0938\u093e\u091d\u093e \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0909\u0924\u094d\u0938\u0941\u0915 \u0939\u0942\u0902\u0964 \u0905\u0927\u093f\u0915 \u091c\u093e\u0928\u0947\",\"sameAs\":[\"https:\/\/statorials.org\/hi\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902","description":"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964","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:\/\/statorials.org\/hi\/pivot_r-\u0938\u0947-\u0905\u0927\u093f\u0915-\u0932\u0902\u092c\u093e\/","og_locale":"hi_IN","og_type":"article","og_title":"\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902","og_description":"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964","og_url":"https:\/\/statorials.org\/hi\/pivot_r-\u0938\u0947-\u0905\u0927\u093f\u0915-\u0932\u0902\u092c\u093e\/","og_site_name":"Statorials","article_published_time":"2023-07-19T20:47:38+00:00","author":"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928","twitter_card":"summary_large_image","twitter_misc":{"\u0926\u094d\u0935\u093e\u0930\u093e \u0932\u093f\u0916\u093f\u0924":"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928","\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f":"1 \u092e\u093f\u0928\u091f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/","url":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/","name":"\u0906\u0930 - \u0938\u094d\u091f\u0947\u091f\u094b\u0932\u0949\u091c\u0940 \u092e\u0947\u0902 \u092a\u093f\u0935\u094b\u091f_\u0932\u0949\u0928\u094d\u0917\u0930() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902","isPartOf":{"@id":"https:\/\/statorials.org\/hi\/#website"},"datePublished":"2023-07-19T20:47:38+00:00","dateModified":"2023-07-19T20:47:38+00:00","author":{"@id":"https:\/\/statorials.org\/hi\/#\/schema\/person\/94100fc65c6aa3462638578b0f7b3340"},"description":"\u092f\u0939 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 \u090f\u0915 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0938\u093e\u0925 \u092c\u0924\u093e\u0924\u093e \u0939\u0948 \u0915\u093f R \u092e\u0947\u0902 Tidyr \u092a\u0948\u0915\u0947\u091c \u0938\u0947 pivot_longer() \u092b\u093c\u0902\u0915\u094d\u0936\u0928 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u0964","breadcrumb":{"@id":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/#breadcrumb"},"inLanguage":"hi-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/hi\/pivot_r-%e0%a4%b8%e0%a5%87-%e0%a4%85%e0%a4%a7%e0%a4%bf%e0%a4%95-%e0%a4%b2%e0%a4%82%e0%a4%ac%e0%a4%be\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u092e\u0941\u0916\u092a\u0943\u0937\u094d\u0920","item":"https:\/\/statorials.org\/hi\/"},{"@type":"ListItem","position":2,"name":"R \u092e\u0947\u0902 pivot_longer() \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/hi\/#website","url":"https:\/\/statorials.org\/hi\/","name":"Statorials","description":"\u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940\u092f \u092f\u094b\u0917\u094d\u092f\u0924\u093e \u0915\u0947 \u0932\u093f\u090f \u0906\u092a\u0915\u093e \u092e\u093e\u0930\u094d\u0917\u0926\u0930\u094d\u0936\u0915!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/hi\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"hi-IN"},{"@type":"Person","@id":"https:\/\/statorials.org\/hi\/#\/schema\/person\/94100fc65c6aa3462638578b0f7b3340","name":"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928","image":{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/statorials.org\/hi\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/hi\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/hi\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","caption":"\u0921\u0949. \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u090f\u0902\u0921\u0930\u0938\u0928"},"description":"\u0928\u092e\u0938\u094d\u0924\u0947, \u092e\u0948\u0902 \u092c\u0947\u0902\u091c\u093e\u092e\u093f\u0928 \u0939\u0942\u0902, \u090f\u0915 \u0938\u0947\u0935\u093e\u0928\u093f\u0935\u0943\u0924\u094d\u0924 \u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940 \u092a\u094d\u0930\u094b\u092b\u0947\u0938\u0930 \u091c\u094b \u0905\u092c \u0938\u092e\u0930\u094d\u092a\u093f\u0924 Statorials \u0936\u093f\u0915\u094d\u0937\u0915 \u092c\u0928 \u0917\u092f\u093e \u0939\u0948\u0964 \u0938\u093e\u0902\u0916\u094d\u092f\u093f\u0915\u0940 \u0915\u0947 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 \u0935\u094d\u092f\u093e\u092a\u0915 \u0905\u0928\u0941\u092d\u0935 \u0914\u0930 \u0935\u093f\u0936\u0947\u0937\u091c\u094d\u091e\u0924\u093e \u0915\u0947 \u0938\u093e\u0925, \u092e\u0948\u0902 Statorials \u0915\u0947 \u092e\u093e\u0927\u094d\u092f\u092e \u0938\u0947 \u091b\u093e\u0924\u094d\u0930\u094b\u0902 \u0915\u094b \u0938\u0936\u0915\u094d\u0924 \u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0905\u092a\u0928\u093e \u091c\u094d\u091e\u093e\u0928 \u0938\u093e\u091d\u093e \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0909\u0924\u094d\u0938\u0941\u0915 \u0939\u0942\u0902\u0964 \u0905\u0927\u093f\u0915 \u091c\u093e\u0928\u0947","sameAs":["https:\/\/statorials.org\/hi"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/posts\/2969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/comments?post=2969"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/posts\/2969\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/media?parent=2969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/categories?post=2969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/hi\/wp-json\/wp\/v2\/tags?post=2969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}