{"id":3033,"date":"2023-07-19T13:09:43","date_gmt":"2023-07-19T13:09:43","guid":{"rendered":"https:\/\/statorials.org\/tr\/rde-sifirdir\/"},"modified":"2023-07-19T13:09:43","modified_gmt":"2023-07-19T13:09:43","slug":"rde-sifirdir","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/rde-sifirdir\/","title":{"rendered":"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Bir veri nesnesinin NULL olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in R&#8217;deki <strong>is.null<\/strong> i\u015flevini kullanabilirsiniz.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu i\u015flev a\u015fa\u011f\u0131daki temel s\u00f6zdizimini kullan\u0131r:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>is. <span style=\"color: #3366ff;\">null<\/span> (x)<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Alt\u0131n:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>x<\/strong> : Test edilecek bir R nesnesi<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki \u00f6rnekler bu i\u015flevin farkl\u0131 senaryolarda nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 1: Nesnenin NULL olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in is.null komutunu kullan\u0131n<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki kod, iki farkl\u0131 vekt\u00f6r\u00fcn NULL&#8217;a e\u015fit olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in <strong>is.null&#8217;un<\/strong> nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create non-null vector\n<\/span>x &lt;- c(1, 4, 15, 6, 7)\n\n<span style=\"color: #008080;\">#test if x is NULL\n<\/span>is. <span style=\"color: #3366ff;\">null<\/span> (x)\n\n[1] FALSE\n\n<span style=\"color: #008080;\">#create null vector\n<\/span>y &lt;- NULL\n\n<span style=\"color: #008080;\">#test if y is NULL\n<\/span>is. <span style=\"color: #3366ff;\">null<\/span> (y)\n\n[1] TRUE\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><span style=\"color: #000000;\"><strong>is.null<\/strong> i\u015flevi, birinci vekt\u00f6r i\u00e7in <strong>FALSE de\u011ferini<\/strong> , ikinci vekt\u00f6r i\u00e7in <strong>TRUE de\u011ferini<\/strong> d\u00f6nd\u00fcr\u00fcr.<\/span><\/span><\/p>\n<p> <span style=\"color: #000000;\">Ayr\u0131ca, bir vekt\u00f6r mevcut ancak bo\u015fsa <strong>is.null<\/strong> \u00f6\u011fesinin <strong>TRUE de\u011ferini<\/strong> d\u00f6nd\u00fcrece\u011fini unutmay\u0131n:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create empty vector\n<\/span>x &lt;- c()\n\n<span style=\"color: #008080;\">#test if x is NULL\n<\/span>is. <span style=\"color: #3366ff;\">null<\/span> (x)\n\n[1] TRUE\n<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 2: Nesnenin NULL olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in !is.null komutunu kullan\u0131n<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki kod, iki farkl\u0131 vekt\u00f6r\u00fcn NULL&#8217;a e\u015fit olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in <strong>!is.null&#8217;un<\/strong> nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create non-null vector\n<\/span>x &lt;- c(1, 4, 15, 6, 7)\n\n<span style=\"color: #008080;\">#test if x is not NULL\n<\/span>!is. <span style=\"color: #3366ff;\">null<\/span> (x)\n\n[1] TRUE\n\n<span style=\"color: #008080;\">#create non-null vector\n<\/span>y &lt;- NULL\n\n<span style=\"color: #008080;\">#test if y is not NULL\n<\/span>!is. <span style=\"color: #3366ff;\">null<\/span> (y)\n\n[1] FALSE\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>!is.null<\/strong> i\u015flevi, birinci vekt\u00f6r i\u00e7in <strong>DO\u011eRU&#8217;yu<\/strong> , ikinci vekt\u00f6r i\u00e7in <strong>YANLI\u015e&#8217;\u0131<\/strong> d\u00f6nd\u00fcr\u00fcr.<\/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 eksik de\u011ferlerle di\u011fer genel i\u015flemlerin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/tr\/hayir\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de is.na nas\u0131l kullan\u0131l\u0131r?<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/na-rm\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de na.rm nas\u0131l kullan\u0131l\u0131r?<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/rde-ihmal-etmeyin\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de na.omit nas\u0131l kullan\u0131l\u0131r<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bir veri nesnesinin NULL olup olmad\u0131\u011f\u0131n\u0131 test etmek i\u00e7in R&#8217;deki is.null i\u015flevini kullanabilirsiniz. Bu i\u015flev a\u015fa\u011f\u0131daki temel s\u00f6zdizimini kullan\u0131r: is. null (x) Alt\u0131n: x : Test edilecek bir R nesnesi A\u015fa\u011f\u0131daki \u00f6rnekler bu i\u015flevin farkl\u0131 senaryolarda nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir. \u00d6rnek 1: Nesnenin NULL olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in is.null komutunu kullan\u0131n A\u015fa\u011f\u0131daki kod, iki farkl\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-3033","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 is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde R&#039;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\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\/rde-sifirdir\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R&#039;de is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde R&#039;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/rde-sifirdir\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T13:09:43+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\/rde-sifirdir\/\",\"url\":\"https:\/\/statorials.org\/tr\/rde-sifirdir\/\",\"name\":\"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-19T13:09:43+00:00\",\"dateModified\":\"2023-07-19T13:09:43+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu e\u011fitimde R&#39;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/rde-sifirdir\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/rde-sifirdir\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/rde-sifirdir\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\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 is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials","description":"Bu e\u011fitimde R&#39;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\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\/rde-sifirdir\/","og_locale":"tr_TR","og_type":"article","og_title":"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials","og_description":"Bu e\u011fitimde R&#39;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/rde-sifirdir\/","og_site_name":"Statorials","article_published_time":"2023-07-19T13:09:43+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\/rde-sifirdir\/","url":"https:\/\/statorials.org\/tr\/rde-sifirdir\/","name":"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\u00f6rneklerle) \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-19T13:09:43+00:00","dateModified":"2023-07-19T13:09:43+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu e\u011fitimde R&#39;de is.null() fonksiyonunun nas\u0131l kullan\u0131laca\u011f\u0131 birka\u00e7 \u00f6rnekle a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/rde-sifirdir\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/rde-sifirdir\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/rde-sifirdir\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de is.null nas\u0131l kullan\u0131l\u0131r (\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\/3033","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=3033"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/3033\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=3033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=3033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=3033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}