{"id":3327,"date":"2023-07-18T01:56:14","date_gmt":"2023-07-18T01:56:14","guid":{"rendered":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/"},"modified":"2023-07-18T01:56:14","modified_gmt":"2023-07-18T01:56:14","slug":"rdeki-rastgele-veri-cercevesi","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/","title":{"rendered":"R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R&#8217;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki y\u00f6ntemlerden herhangi birini kullanabilirsiniz:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Y\u00f6ntem 1: Aral\u0131ktaki rastgele de\u011ferlere sahip bir veri \u00e7er\u00e7evesi olu\u015fturun<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create data frame of 10 random values between 1 and 20<\/span>\ndf &lt;- as. <span style=\"color: #3366ff;\">data<\/span> . <span style=\"color: #3366ff;\">frame<\/span> (matrix(runif(n= <span style=\"color: #008000;\">10<\/span> , min= <span style=\"color: #008000;\">1<\/span> , max= <span style=\"color: #008000;\">20<\/span> ), nrow= <span style=\"color: #008000;\">5<\/span> ))\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>Y\u00f6ntem 2: Aral\u0131ktaki rastgele tamsay\u0131larla bir veri \u00e7er\u00e7evesi olu\u015fturun<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create data frame of 10 random integers between 1 and 20<\/span>\ndf &lt;- as. <span style=\"color: #3366ff;\">data<\/span> . <span style=\"color: #3366ff;\">frame<\/span> (matrix(round(runif(n= <span style=\"color: #008000;\">10<\/span> , min= <span style=\"color: #008000;\">1<\/span> , max= <span style=\"color: #008000;\">20<\/span> ), 0), nrow= <span style=\"color: #008000;\">5<\/span> ))<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki \u00f6rnekler bu y\u00f6ntemlerin her birinin pratikte nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6stermektedir.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Y\u00f6ntem 1: Aral\u0131ktaki rastgele de\u011ferlere sahip bir veri \u00e7er\u00e7evesi olu\u015fturun<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki kod, 1 ile 20 aras\u0131nda 10 rastgele de\u011ferden olu\u015fan 5 sat\u0131rl\u0131 bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131 g\u00f6sterir:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#make this example reproducible\n<\/span>set. <span style=\"color: #3366ff;\">seed<\/span> ( <span style=\"color: #008000;\">1<\/span> )\n\n<span style=\"color: #008080;\">#create data frame with 10 random numbers between 1 and 20\n<\/span>df &lt;- as. <span style=\"color: #3366ff;\">data<\/span> . <span style=\"color: #3366ff;\">frame<\/span> (matrix(runif(n= <span style=\"color: #008000;\">10<\/span> , min= <span style=\"color: #008000;\">1<\/span> , max= <span style=\"color: #008000;\">20<\/span> ), nrow= <span style=\"color: #008000;\">5<\/span> ))\n\n<span style=\"color: #008080;\">#define column names<\/span>\nnames(df) &lt;- c('A', 'B')\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n          AB\n1 6.044665 18.069404\n2 8.070354 18.948830\n3 11.884214 13.555158\n4 18.255948 12.953167\n5 4.831957 2.173939<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Sonu\u00e7, veri \u00e7er\u00e7evesindeki her de\u011ferin 1 ile 20 aras\u0131nda oldu\u011fu 5 sat\u0131r ve 2 s\u00fctundan olu\u015fan bir veri \u00e7er\u00e7evesidir.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Y\u00f6ntem 2: Aral\u0131ktaki rastgele tamsay\u0131larla bir veri \u00e7er\u00e7evesi olu\u015fturun<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki kod, 1 ile 50 aras\u0131nda 10 rastgele tamsay\u0131dan olu\u015fan bir veri blo\u011funun nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131 g\u00f6sterir:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#make this example reproducible\n<\/span>set. <span style=\"color: #3366ff;\">seed<\/span> ( <span style=\"color: #008000;\">1<\/span> )\n\n<span style=\"color: #008080;\">#create data frame with 10 random integers between 1 and 50\n<\/span>df &lt;- as. <span style=\"color: #3366ff;\">data<\/span> . <span style=\"color: #3366ff;\">frame<\/span> (matrix(round(runif(n= <span style=\"color: #008000;\">10<\/span> , min= <span style=\"color: #008000;\">1<\/span> , max= <span style=\"color: #008000;\">50<\/span> ), 0), nrow= <span style=\"color: #008000;\">5<\/span> ))\n\n<span style=\"color: #008080;\">#define column names\n<\/span>names(df) &lt;- c('A', 'B')\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n   AB\n1 14 45\n2 19 47\n3 29 33\n4 46 32\n5 11 4\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Sonu\u00e7, 5 sat\u0131r ve 2 s\u00fctundan olu\u015fan bir veri \u00e7er\u00e7evesidir; burada veri \u00e7er\u00e7evesindeki her de\u011fer, 1 ile 50 aras\u0131nda bir tam say\u0131d\u0131r.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>runif()<\/strong> fonksiyonunun <strong>minimum<\/strong> ve <strong>maksimum<\/strong> de\u011ferler <em>de dahil olmak \u00fczere<\/em> rastgele say\u0131lar \u00fcretti\u011fini unutmay\u0131n.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u00d6rne\u011fin yukar\u0131daki veri \u00e7er\u00e7evesinin hem 1&#8217;i hem de 50&#8217;yi i\u00e7ermesi m\u00fcmk\u00fcnd\u00fcr.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Ayr\u0131ca, bu y\u00f6ntemi kullan\u0131rken ayn\u0131 say\u0131n\u0131n veri \u00e7er\u00e7evesinde birden \u00e7ok kez g\u00f6r\u00fcnmesinin m\u00fcmk\u00fcn oldu\u011funu unutmay\u0131n.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Ek kaynaklar<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki e\u011fitimlerde R&#8217;de di\u011fer ortak g\u00f6revlerin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/tr\/rde-rastgele-vektor\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de rastgele say\u0131larla bir vekt\u00f6r nas\u0131l olu\u015fturulur<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/rdeki-rastgele-matris\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de rastgele say\u0131larla bir matris nas\u0131l olu\u015fturulur<\/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;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki y\u00f6ntemlerden herhangi birini kullanabilirsiniz: Y\u00f6ntem 1: Aral\u0131ktaki rastgele de\u011ferlere sahip bir veri \u00e7er\u00e7evesi olu\u015fturun #create data frame of 10 random values between 1 and 20 df &lt;- as. data . frame (matrix(runif(n= 10 , min= 1 , max= 20 ), nrow= 5 )) Y\u00f6ntem 2: Aral\u0131ktaki [&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-3327","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 - Statorials&#039;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde, R&#039;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 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-rastgele-veri-cercevesi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R - Statorials&#039;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde, R&#039;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-18T01:56:14+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-rastgele-veri-cercevesi\/\",\"url\":\"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/\",\"name\":\"R - Statorials&#39;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-18T01:56:14+00:00\",\"dateModified\":\"2023-07-18T01:56:14+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu e\u011fitimde, R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur\"}]},{\"@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 - Statorials&#39;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?","description":"Bu e\u011fitimde, R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 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-rastgele-veri-cercevesi\/","og_locale":"tr_TR","og_type":"article","og_title":"R - Statorials&#39;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?","og_description":"Bu e\u011fitimde, R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/","og_site_name":"Statorials","article_published_time":"2023-07-18T01:56:14+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-rastgele-veri-cercevesi\/","url":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/","name":"R - Statorials&#39;da rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur?","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-18T01:56:14+00:00","dateModified":"2023-07-18T01:56:14+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu e\u011fitimde, R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesinin nas\u0131l olu\u015fturulaca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/rdeki-rastgele-veri-cercevesi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de rastgele say\u0131larla bir veri \u00e7er\u00e7evesi nas\u0131l olu\u015fturulur"}]},{"@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\/3327","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=3327"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/3327\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=3327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=3327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=3327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}