{"id":1278,"date":"2023-07-27T01:12:32","date_gmt":"2023-07-27T01:12:32","guid":{"rendered":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/"},"modified":"2023-07-27T01:12:32","modified_gmt":"2023-07-27T01:12:32","slug":"rdeki-satir-adlarini-degistirme","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/","title":{"rendered":"R&#39;de sat\u0131r adlar\u0131 nas\u0131l de\u011fi\u015ftirilir (\u00f6rneklerle)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R&#8217;deki bir veri \u00e7er\u00e7evesinin sat\u0131r adlar\u0131n\u0131 h\u0131zl\u0131 bir \u015fekilde almak ve ayarlamak i\u00e7in <strong>row.names()<\/strong> i\u015flevini kullanabilirsiniz.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu e\u011fitimde, bu i\u015flevin R&#8217;de yerle\u015fik <strong>mtcars<\/strong> veri k\u00fcmesinde pratik kullan\u0131m\u0131na ili\u015fkin birka\u00e7 \u00f6rnek sunulmaktad\u0131r:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#view first six rows of <em>mtcars<\/em><\/span>\nhead(mtcars)\n\n                   mpg cyl disp hp drat wt qsec vs am gear carb\nMazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\nMazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\nDatsun 710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\nHornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\nHornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\nValiant 18.1 6 225 105 2.76 3,460 20.22 1 0 3 1<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>Sat\u0131r adlar\u0131 nas\u0131l al\u0131n\u0131r?<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\"><em>Mtcars<\/em> veri \u00e7er\u00e7evesinin ilk sat\u0131r adlar\u0131n\u0131 g\u00f6r\u00fcnt\u00fclemek i\u00e7in a\u015fa\u011f\u0131daki s\u00f6zdizimini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#view first six row names of <em>mtcars<\/em><\/span>\nhead( <span style=\"color: #3366ff;\">row<\/span> . <span style=\"color: #3366ff;\">names<\/span> (mtcars))\n\n[1] \"Mazda RX4\" \"Mazda RX4 Wag\" \"Datsun 710\"       \n[4] \"Hornet 4 Drive\" \"Hornet Sportabout\" \"Valiant\" \n<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>Bir sat\u0131r\u0131n ad\u0131 nas\u0131l de\u011fi\u015ftirilir?<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Belirli bir sat\u0131r ad\u0131n\u0131 de\u011fi\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki s\u00f6zdizimini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#change the row name called <em>Datsun710<\/em> to <em>710<\/em>\n<\/span><span style=\"color: #3366ff;\">row<\/span> . <span style=\"color: #3366ff;\">names<\/span> (mtcars)[ <span style=\"color: #3366ff;\">row<\/span> . <span style=\"color: #3366ff;\">names<\/span> (mtcars) == \" <span style=\"color: #008000;\">Datsun 710<\/span> \"] &lt;- \" <span style=\"color: #008000;\">710<\/span> \"\n\n<span style=\"color: #008080;\">#view first six row names of <em>mtcars<\/em><\/span> \nhead(mtcars)\n\n                   mpg cyl disp hp drat wt qsec vs am gear carb\nMazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\nMazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\n710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\nHornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\nHornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\nValiant 18.1 6 225 105 2.76 3,460 20.22 1 0 3 1\n<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>T\u00fcm sat\u0131r adlar\u0131 nas\u0131l de\u011fi\u015ftirilir?<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">T\u00fcm sat\u0131r adlar\u0131n\u0131 1&#8217;den ba\u015flayan bir tamsay\u0131 listesiyle de\u011fi\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki s\u00f6zdizimini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#change row names to a list of integers\n<\/span><span style=\"color: #3366ff;\">row.names <span style=\"color: #000000;\">(mtcars) &lt;- 1: <span style=\"color: #3366ff;\">nrow<\/span> (mtcars)\n\n<span style=\"color: #008080;\">#view first six row names of <em>mtcars<\/em><\/span> \nhead(mtcars)\n\n   mpg cyl disp hp drat wt qsec vs am gear carb\n1 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\n2 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\n3 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\n4 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\n5 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\n6 18.1 6 225 105 2.76 3,460 20.22 1 0 3 1\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Her sat\u0131r ad\u0131n\u0131n \u00f6n\u00fcne bir s\u00f6zc\u00fck eklemek i\u00e7in de <strong>Paste()<\/strong> i\u015flevini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#change row names\n<\/span><span style=\"color: #3366ff;\">row.names <span style=\"color: #000000;\">(mtcars) &lt;- paste(\" <span style=\"color: #008000;\">row<\/span> \", 1: <span style=\"color: #3366ff;\">nrow<\/span> (mtcars))\n\n<span style=\"color: #008080;\">#view first six row names of <em>mtcars<\/em><\/span> \nhead(mtcars)\n\n       mpg cyl disp hp drat wt qsec vs am gear carb\nrow 1 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\nrow 2 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\nrow 3 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\nrow 4 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\nrow 5 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\nrow 6 18.1 6 225 105 2.76 3.460 20.22 1 0 3 1\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Art\u0131k her sat\u0131r\u0131n ba\u015f\u0131na &#8220;sat\u0131r&#8221; kelimesinin eklendi\u011fini unutmay\u0131n.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Ek kaynaklar<\/strong><\/span><\/h3>\n<p> R&#8217;de sat\u0131r numaralar\u0131 nas\u0131l al\u0131n\u0131r<br \/> <a href=\"https:\/\/statorials.org\/tr\/r-veri-cercevesine-ekle\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de bir veri \u00e7er\u00e7evesine sat\u0131rlar nas\u0131l eklenir<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/rde-rastgele-ornek\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de rastgele \u00f6rnekler nas\u0131l se\u00e7ilir<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R&#8217;deki bir veri \u00e7er\u00e7evesinin sat\u0131r adlar\u0131n\u0131 h\u0131zl\u0131 bir \u015fekilde almak ve ayarlamak i\u00e7in row.names() i\u015flevini kullanabilirsiniz. Bu e\u011fitimde, bu i\u015flevin R&#8217;de yerle\u015fik mtcars veri k\u00fcmesinde pratik kullan\u0131m\u0131na ili\u015fkin birka\u00e7 \u00f6rnek sunulmaktad\u0131r: #view first six rows of mtcars head(mtcars) mpg cyl disp hp drat wt qsec vs am gear carb Mazda RX4 21.0 6 160 110 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1278","post","type-post","status-publish","format-standard","hentry","category-rehber"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R&#039;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde R&#039;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\" \/>\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\/tr\/rdeki-satir-adlarini-degistirme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R&#039;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde R&#039;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T01:12:32+00:00\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/\",\"url\":\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/\",\"name\":\"R&#39;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-27T01:12:32+00:00\",\"dateModified\":\"2023-07-27T01:12:32+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu e\u011fitimde R&#39;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de sat\u0131r adlar\u0131 nas\u0131l de\u011fi\u015ftirilir (\u00f6rneklerle)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/tr\/#website\",\"url\":\"https:\/\/statorials.org\/tr\/\",\"name\":\"Statorials\",\"description\":\"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/tr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"tr\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil\",\"sameAs\":[\"https:\/\/statorials.org\/tr\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R&#39;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials","description":"Bu e\u011fitimde R&#39;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","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\/tr\/rdeki-satir-adlarini-degistirme\/","og_locale":"tr_TR","og_type":"article","og_title":"R&#39;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials","og_description":"Bu e\u011fitimde R&#39;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/","og_site_name":"Statorials","article_published_time":"2023-07-27T01:12:32+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Dr.benjamin anderson","Tahmini okuma s\u00fcresi":"2 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/","url":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/","name":"R&#39;de Sat\u0131r Adlar\u0131 Nas\u0131l De\u011fi\u015ftirilir (\u00d6rneklerle) \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-27T01:12:32+00:00","dateModified":"2023-07-27T01:12:32+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu e\u011fitimde R&#39;de sat\u0131r adlar\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/rdeki-satir-adlarini-degistirme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de sat\u0131r adlar\u0131 nas\u0131l de\u011fi\u015ftirilir (\u00f6rneklerle)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/tr\/#website","url":"https:\/\/statorials.org\/tr\/","name":"Statorials","description":"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/tr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"tr"},{"@type":"Person","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil","sameAs":["https:\/\/statorials.org\/tr"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/1278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/comments?post=1278"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/1278\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=1278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=1278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=1278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}