{"id":2493,"date":"2023-07-22T01:09:59","date_gmt":"2023-07-22T01:09:59","guid":{"rendered":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/"},"modified":"2023-07-22T01:09:59","modified_gmt":"2023-07-22T01:09:59","slug":"r-dizeleri-birlestirme","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/","title":{"rendered":"R&#39;de dizeleri birle\u015ftirme (\u00f6rneklerle)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Birden \u00e7ok dizeyi h\u0131zl\u0131 bir \u015fekilde birle\u015ftirmek i\u00e7in R&#8217;deki <strong>past()<\/strong> i\u015flevini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>paste(string1, string2, string3, sep = \" \")<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki \u00f6rnekler bu fonksiyonun pratikte nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6stermektedir.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 1: Dize vekt\u00f6rlerini birle\u015ftirme<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">R&#8217;de a\u015fa\u011f\u0131daki dizelere sahip oldu\u011fumuzu varsayal\u0131m:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create three string variables\n<span style=\"color: #000000;\">a &lt;- \u201chey\u201d\nb &lt;- \u201cthere\u201d\nc &lt;- \u201cfriend\u201d\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu \u00fc\u00e7 dizeyi h\u0131zl\u0131 bir \u015fekilde tek bir dizede birle\u015ftirmek i\u00e7in <strong>Paste()<\/strong> i\u015flevini kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#concatenate the three strings into one string\n<span style=\"color: #000000;\">d &lt;- paste(a, b, c)\n\n<span style=\"color: #008080;\">#view result<\/span>\nd\n\n[1] \u201chey there friend\u201d\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u00dc\u00e7 dize, bo\u015fluklarla ayr\u0131lm\u0131\u015f tek bir dize halinde birle\u015ftirildi.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>sep<\/strong> arg\u00fcman\u0131na farkl\u0131 bir de\u011fer sa\u011flayarak ay\u0131r\u0131c\u0131 i\u00e7in farkl\u0131 bir de\u011fer de kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#concatenate the three strings into one string, separated by dashes<\/span>\nd &lt;- paste(a, b, c, sep = \"-\")\n\n[1] \u201chey-there-friend\u201d\n<\/span><\/span><\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 2: Bir veri \u00e7er\u00e7evesindeki dizelerin s\u00fctunlar\u0131n\u0131 birle\u015ftirme<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">R&#8217;de a\u015fa\u011f\u0131daki veri \u00e7er\u00e7evesine sahip oldu\u011fumuzu varsayal\u0131m:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#create data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (first=c('Andy', 'Bob', 'Carl', 'Doug'),\n                 last=c('Smith', 'Miller', 'Johnson', 'Rogers'),\n                 dots=c(99, 90, 86, 88))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  first last points\n1 Andy Smith 99\n2 Bob Miller 90\n3 Carl Johnson 86\n4 Doug Rogers 88\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">&#8220;\u0130lk&#8221; ve &#8220;son&#8221; s\u00fctunlar\u0131 &#8220;ad&#8221; ad\u0131 verilen yeni bir s\u00fctunda birle\u015ftirmek i\u00e7in <strong>Paste()<\/strong> i\u015flevini kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#concatenate 'first' and 'last' name columns into one column\n<\/span>df$name = paste(df$first, df$last)\n\n<span style=\"color: #008080;\">#view updated data frame\n<\/span>df\n\n  first last points name\n1 Andy Smith 99 Andy Smith\n2 Bob Miller 90 Bob Miller\n3 Carl Johnson 86 Carl Johnson\n4 Doug Rogers 88 Doug Rogers\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">&#8220;\u0130lk&#8221; ve &#8220;son&#8221; s\u00fctunlar\u0131ndaki dizelerin &#8220;ad&#8221; s\u00fctununda birle\u015ftirildi\u011fini unutmay\u0131n.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Ek kaynaklar<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki e\u011fitimlerde R&#8217;de di\u011fer yayg\u0131n i\u015flemlerin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/tr\/r-vektoru-dizeye-donustur\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de vekt\u00f6r dizeye nas\u0131l d\u00f6n\u00fc\u015ft\u00fcr\u00fcl\u00fcr<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/kucuk-r-harfiyle\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de dizeler k\u00fc\u00e7\u00fck harfe nas\u0131l d\u00f6n\u00fc\u015ft\u00fcr\u00fcl\u00fcr<\/a><br \/> R&#8217;de k\u0131smi dize e\u015fle\u015ftirmesi nas\u0131l ger\u00e7ekle\u015ftirilir?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Birden \u00e7ok dizeyi h\u0131zl\u0131 bir \u015fekilde birle\u015ftirmek i\u00e7in R&#8217;deki past() i\u015flevini kullanabilirsiniz: paste(string1, string2, string3, sep = &#8221; &#8220;) A\u015fa\u011f\u0131daki \u00f6rnekler bu fonksiyonun pratikte nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6stermektedir. \u00d6rnek 1: Dize vekt\u00f6rlerini birle\u015ftirme R&#8217;de a\u015fa\u011f\u0131daki dizelere sahip oldu\u011fumuzu varsayal\u0131m: #create three string variables a &lt;- \u201chey\u201d b &lt;- \u201cthere\u201d c &lt;- \u201cfriend\u201d Bu \u00fc\u00e7 dizeyi h\u0131zl\u0131 [&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-2493","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 dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde R&#039;de dizelerin nas\u0131l birle\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\/r-dizeleri-birlestirme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R&#039;de dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde R&#039;de dizelerin nas\u0131l birle\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-22T01:09:59+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\/r-dizeleri-birlestirme\/\",\"url\":\"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/\",\"name\":\"R&#39;de dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-22T01:09:59+00:00\",\"dateModified\":\"2023-07-22T01:09:59+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu e\u011fitimde R&#39;de dizelerin nas\u0131l birle\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de dizeleri birle\u015ftirme (\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 dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials","description":"Bu e\u011fitimde R&#39;de dizelerin nas\u0131l birle\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\/r-dizeleri-birlestirme\/","og_locale":"tr_TR","og_type":"article","og_title":"R&#39;de dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials","og_description":"Bu e\u011fitimde R&#39;de dizelerin nas\u0131l birle\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/","og_site_name":"Statorials","article_published_time":"2023-07-22T01:09:59+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\/r-dizeleri-birlestirme\/","url":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/","name":"R&#39;de dizeler nas\u0131l birle\u015ftirilir (\u00f6rneklerle) \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-22T01:09:59+00:00","dateModified":"2023-07-22T01:09:59+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu e\u011fitimde R&#39;de dizelerin nas\u0131l birle\u015ftirilece\u011fi birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/r-dizeleri-birlestirme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de dizeleri birle\u015ftirme (\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\/2493","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=2493"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/2493\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=2493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=2493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=2493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}