{"id":2002,"date":"2023-07-24T03:27:13","date_gmt":"2023-07-24T03:27:13","guid":{"rendered":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/"},"modified":"2023-07-24T03:27:13","modified_gmt":"2023-07-24T03:27:13","slug":"wetenschappelijke-notatie-in-r-uitschakelen","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/","title":{"rendered":"Hoe wetenschappelijke notatie in r uit te schakelen (met voorbeelden)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">U kunt de volgende methoden gebruiken om de wetenschappelijke notatie in R uit te schakelen:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Methode 1: Wetenschappelijke notatie uitschakelen als globale instelling<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong>options(scipen= <span style=\"color: #008000;\">999<\/span> )\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\"><strong>Methode 2: Schakel de wetenschappelijke notatie voor een variabele uit<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong>format(x, scientific = <span style=\"color: #008000;\">F<\/span> )\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">De volgende voorbeelden laten zien hoe u elk van deze methoden in de praktijk kunt gebruiken.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Methode 1: Wetenschappelijke notatie uitschakelen als globale instelling<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Stel dat we de volgende vermenigvuldiging in R uitvoeren:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#perform multiplication<\/span>\nx &lt;- 9999999 * 12345\n\n<span style=\"color: #008080;\">#view results<\/span><\/strong>\n<strong>x\n\n[1] 1.2345e+11\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Het resultaat wordt weergegeven in wetenschappelijke notatie, omdat het getal erg groot is.<\/span><\/p>\n<p> <span style=\"color: #000000;\">De volgende code laat zien hoe u wetenschappelijke notatie als globale instelling kunt uitschakelen. Dit betekent dat geen enkele variabele in de uitvoer in wetenschappelijke notatie wordt weergegeven.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #000000;\"><span style=\"color: #008080;\">#turn off scientific notation for all variables\n<\/span>options(scipen= <span style=\"color: #008000;\">999<\/span> ) \n\n<\/span><span style=\"color: #008080;\">#perform multiplication<\/span>\nx &lt;- 9999999 * 12345\n\n<span style=\"color: #008080;\">#view results<\/span>\nx\n\n[1] 123449987655\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Merk op dat het hele getal wordt weergegeven omdat we de wetenschappelijke notatie hebben uitgeschakeld.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Merk op dat de standaardwaarde van scipen <strong>0<\/strong> is, dus je kunt deze globale instelling resetten met behulp van <strong>options(scipen=0)<\/strong> in R:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #000000;\"><span style=\"color: #008080;\">#turn scientific notation back on\n<\/span>options(scipen= <span style=\"color: #008000;\">0<\/span> ) \n\n<span style=\"color: #008080;\">#perform multiplication again\n<\/span>x &lt;- 9999999 * 12345\n\n<span style=\"color: #008080;\">#view results\n<\/span>x\n\n[1] 1.2345e+11\n<\/span><\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>Methode 2: Schakel de wetenschappelijke notatie voor een variabele uit<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">De volgende code laat zien hoe u de wetenschappelijke notatie voor een enkele variabele kunt uitschakelen:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#perform multiplication<\/span>\nx &lt;- 9999999 * 12345\n\n<span style=\"color: #008080;\">#display results and turn of scientific notation\n<\/span>format(x, scientific = <span style=\"color: #008000;\">F<\/span> )\n\n[1] \"123449987655\"\n\n<span style=\"color: #008080;\">#perform another multiplication<\/span>\ny &lt;- 9999999 * 999999\n\n<span style=\"color: #008080;\">#view results<\/span>\ny\n\n[1] 9.999989e+12\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Merk op dat alleen de eerste variabele wordt weergegeven zonder wetenschappelijke notatie, aangezien dit de enige variabele is waarvoor we de functie <strong>format()<\/strong> hebben gebruikt.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Aanvullende bronnen<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">De volgende tutorials laten zien hoe u andere veelvoorkomende bewerkingen in R kunt uitvoeren:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/nl\/rond-in-r\/\" target=\"_blank\" rel=\"noopener\">Hoe getallen in R af te ronden<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/r-vector-naar-string-converteren\/\" target=\"_blank\" rel=\"noopener\">Hoe vector naar string te converteren in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/converteer-de-dataframekolom-naar-vector-r\/\" target=\"_blank\" rel=\"noopener\">Hoe dataframekolom naar vector te converteren in R<\/a><br \/><a href=\"https:\/\/statorials.org\/nl\/converteer-matrix-naar-vector-r\/\" target=\"_blank\" rel=\"noopener\">Hoe matrix naar vector te converteren in R<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>U kunt de volgende methoden gebruiken om de wetenschappelijke notatie in R uit te schakelen: Methode 1: Wetenschappelijke notatie uitschakelen als globale instelling options(scipen= 999 ) Methode 2: Schakel de wetenschappelijke notatie voor een variabele uit format(x, scientific = F ) De volgende voorbeelden laten zien hoe u elk van deze methoden in de praktijk [&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-2002","post","type-post","status-publish","format-standard","hentry","category-gids"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials<\/title>\n<meta name=\"description\" content=\"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.\" \/>\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\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials\" \/>\n<meta property=\"og:description\" content=\"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-24T03:27:13+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=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/\",\"url\":\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/\",\"name\":\"Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-24T03:27:13+00:00\",\"dateModified\":\"2023-07-24T03:27:13+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe wetenschappelijke notatie in r uit te schakelen (met voorbeelden)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/nl\/#website\",\"url\":\"https:\/\/statorials.org\/nl\/\",\"name\":\"Statorials\",\"description\":\"Uw gids voor statistische competentie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder\",\"sameAs\":[\"http:\/\/statorials.org\/nl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials","description":"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.","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\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/","og_locale":"de_DE","og_type":"article","og_title":"Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials","og_description":"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.","og_url":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/","og_site_name":"Statorials","article_published_time":"2023-07-24T03:27:13+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr.benjamin anderson","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/","url":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/","name":"Hoe wetenschappelijke notatie in R uit te schakelen (met voorbeelden) - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-24T03:27:13+00:00","dateModified":"2023-07-24T03:27:13+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"In deze tutorial wordt uitgelegd hoe je de wetenschappelijke notatie in R uitschakelt, met verschillende voorbeelden.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/wetenschappelijke-notatie-in-r-uitschakelen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Hoe wetenschappelijke notatie in r uit te schakelen (met voorbeelden)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/nl\/#website","url":"https:\/\/statorials.org\/nl\/","name":"Statorials","description":"Uw gids voor statistische competentie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder","sameAs":["http:\/\/statorials.org\/nl"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/2002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/comments?post=2002"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/2002\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=2002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=2002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=2002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}