{"id":515,"date":"2023-07-29T15:53:45","date_gmt":"2023-07-29T15:53:45","guid":{"rendered":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/"},"modified":"2023-07-29T15:53:45","modified_gmt":"2023-07-29T15:53:45","slug":"hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/","title":{"rendered":"Hoe mutate te gebruiken om nieuwe variabelen te maken in r"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">In deze tutorial wordt uitgelegd hoe u de functie <strong>mute()<\/strong> in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Nieuwe variabelen toevoegen in R<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De volgende <strong>dplyr-<\/strong> bibliotheekfuncties kunnen worden gebruikt om nieuwe variabelen aan een dataframe toe te voegen:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>mute()<\/strong> \u2013 voegt nieuwe variabelen toe aan een dataframe terwijl bestaande variabelen behouden blijven<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>transmute()<\/strong> \u2013 voegt nieuwe variabelen toe aan een dataframe en verwijdert bestaande variabelen<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>mute_all()<\/strong> \u2013 wijzigt alle variabelen in een dataframe in \u00e9\u00e9n keer<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>mute_at()<\/strong> \u2013 wijzigt specifieke variabelen op naam<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>mute_if()<\/strong> \u2013 wijzigt alle variabelen die aan een bepaalde voorwaarde voldoen<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>muteren()<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De functie <strong>mute()<\/strong> voegt nieuwe variabelen toe aan een dataframe terwijl alle bestaande variabelen behouden blijven.<\/span> <span style=\"color: #000000;\">De basissyntaxis van mute() is:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>data &lt;- <span style=\"color: #800080;\">mutate<\/span> (new_variable = existing_variable\/3)<\/strong><\/pre>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>data:<\/strong> het nieuwe datablok waaraan de nieuwe variabelen moeten worden toegewezen<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>nieuwe_variabele:<\/strong> de naam van de nieuwe variabele<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>bestaande_variabele:<\/strong> de bestaande variabele in het dataframe waarop u een bewerking wilt uitvoeren om de nieuwe variabele te maken<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">De volgende code laat bijvoorbeeld zien hoe u een nieuwe <em>root_sepal_width<\/em> variabele toevoegt aan de ingebedde <em>irisgegevensset<\/em> :<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define data frame as the first six lines of the <em>iris<\/em> dataset<\/span>\ndata &lt;- head(iris)\n\n<span style=\"color: #008080;\">#view data<\/span>\ndata\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Species\n#1 5.1 3.5 1.4 0.2 setosa\n#2 4.9 3.0 1.4 0.2 setosa\n#3 4.7 3.2 1.3 0.2 setosa\n#4 4.6 3.1 1.5 0.2 setosa\n#5 5.0 3.6 1.4 0.2 setosa\n#6 5.4 3.9 1.7 0.4 setosa\n\n<span style=\"color: #008080;\">#load <em>dplyr<\/em> library<\/span>\n<span style=\"color: #000000;\">library(dplyr)<\/span>\n\n<span style=\"color: #008080;\">#define new column <em>root_sepal_width<\/em> as the square root of the <em>Sepal.Width<\/em> variable<\/span>\ndata %&gt;% <span style=\"color: #800080;\">mutate<\/span> (root_sepal_width = sqrt(Sepal.Width))\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Species root_sepal_width\n#1 5.1 3.5 1.4 0.2 setosa 1.870829\n#2 4.9 3.0 1.4 0.2 setosa 1.732051\n#3 4.7 3.2 1.3 0.2 setosa 1.788854\n#4 4.6 3.1 1.5 0.2 setosa 1.760682\n#5 5.0 3.6 1.4 0.2 setosa 1.897367\n#6 5.4 3.9 1.7 0.4 setosa 1.974842\n<\/strong><\/pre>\n<h2> <span style=\"color: #000000;\"><strong>transmuteren()<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De functie <strong>transmute()<\/strong> voegt nieuwe variabelen toe aan een dataframe en verwijdert bestaande variabelen. De volgende code laat zien hoe u twee nieuwe variabelen aan een gegevensset kunt toevoegen en alle bestaande variabelen kunt verwijderen:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define data frame as the first six lines of the <em>iris<\/em> dataset\n<\/span>data &lt;- head(iris)\n\n<span style=\"color: #008080;\">#viewdata\n<\/span>data\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Species\n#1 5.1 3.5 1.4 0.2 setosa\n#2 4.9 3.0 1.4 0.2 setosa\n#3 4.7 3.2 1.3 0.2 setosa\n#4 4.6 3.1 1.5 0.2 setosa\n#5 5.0 3.6 1.4 0.2 setosa\n#6 5.4 3.9 1.7 0.4 setosa\n\n<span style=\"color: #008080;\">#define two new variables and remove all existing variables\n<\/span>data %&gt;% <span style=\"color: #800080;\">transmute<\/span> (root_sepal_width = sqrt(Sepal.Width),\n                   root_petal_width = sqrt(Petal.Width))\n\n# root_sepal_width root_petal_width\n#1 1.870829 0.4472136\n#2 1.732051 0.4472136\n#3 1.788854 0.4472136\n#4 1.760682 0.4472136\n#5 1.897367 0.4472136\n#6 1.974842 0.6324555\n<\/strong><\/pre>\n<h2> <span style=\"color: #000000;\"><strong>mute_all()<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De functie <strong>mute_all()<\/strong> wijzigt alle variabelen in een dataframe in \u00e9\u00e9n keer, waardoor u een specifieke functie op alle variabelen kunt uitvoeren met behulp van de functie <strong>funs()<\/strong> . De volgende code laat zien hoe u alle kolommen in een dataframe door 10 deelt met behulp van <strong>mute_all()<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define new data frame as the first six rows of <em>iris<\/em> without the <em>Species<\/em> variable<\/span>\ndata2 &lt;- head(iris) %&gt;% select(-Species)\n\n<span style=\"color: #008080;\">#view the new data frame<\/span>\ndata2\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width\n#1 5.1 3.5 1.4 0.2\n#2 4.9 3.0 1.4 0.2\n#3 4.7 3.2 1.3 0.2\n#4 4.6 3.1 1.5 0.2\n#5 5.0 3.6 1.4 0.2\n#6 5.4 3.9 1.7 0.4\n\n<span style=\"color: #008080;\">#divide all variables in the data frame by 10\n<\/span>data2 %&gt;% <span style=\"color: #800080;\">mutate_all<\/span> (funs(.\/10))\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width\n#1 0.51 0.35 0.14 0.02\n#2 0.49 0.30 0.14 0.02\n#3 0.47 0.32 0.13 0.02\n#4 0.46 0.31 0.15 0.02\n#5 0.50 0.36 0.14 0.02\n#6 0.54 0.39 0.17 0.04\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Houd er rekening mee dat extra variabelen aan het dataframe kunnen worden toegevoegd door een nieuwe naam op te geven die aan de oude variabelenaam moet worden toegevoegd:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>data2 %&gt;% <span style=\"color: #800080;\">mutate_all<\/span> (funs(mod = .\/10))\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Sepal.Length_mod\n#1 5.1 3.5 1.4 0.2 0.51\n#2 4.9 3.0 1.4 0.2 0.49\n#3 4.7 3.2 1.3 0.2 0.47\n#4 4.6 3.1 1.5 0.2 0.46\n#5 5.0 3.6 1.4 0.2 0.50\n#6 5.4 3.9 1.7 0.4 0.54\n# Sepal.Width_mod Petal.Length_mod Petal.Width_mod\n#1 0.35 0.14 0.02\n#2 0.30 0.14 0.02\n#3 0.32 0.13 0.02\n#4 0.31 0.15 0.02\n#5 0.36 0.14 0.02\n#6 0.39 0.17 0.04\n<\/strong><\/pre>\n<h2> <span style=\"color: #000000;\"><strong>mute_at()<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De functie <strong>mute_at()<\/strong> wijzigt specifieke variabelen op naam. De volgende code laat zien hoe je twee specifieke variabelen door 10 deelt met behulp van <strong>mute_at()<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>data2 %&gt;% <span style=\"color: #800080;\">mutate_at<\/span> (c(\"Sepal.Length\", \"Sepal.Width\"), funs(mod = .\/10))\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Sepal.Length_mod\n#1 5.1 3.5 1.4 0.2 0.51\n#2 4.9 3.0 1.4 0.2 0.49\n#3 4.7 3.2 1.3 0.2 0.47\n#4 4.6 3.1 1.5 0.2 0.46\n#5 5.0 3.6 1.4 0.2 0.50\n#6 5.4 3.9 1.7 0.4 0.54\n# Sepal.Width_mod\n#1 0.35\n#2 0.30\n#3 0.32\n#4 0.31\n#5 0.36\n#6 0.39<\/strong><\/pre>\n<h2> <span style=\"color: #000000;\"><strong>mute_if()<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">De functie <strong>mute_if()<\/strong> wijzigt alle variabelen die aan een bepaalde voorwaarde voldoen. De volgende code illustreert hoe u de functie <strong>mute_if()<\/strong> gebruikt om elke variabele van type <em>factor<\/em> naar type <em>karakter<\/em> te converteren:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#find variable type of each variable in a data frame<\/span>\ndata &lt;- head(iris)\nsapply(data, class)\n\n#Sepal.Length Sepal.Width Petal.Length Petal.Width Species \n# \"numeric\" \"numeric\" \"numeric\" \"numeric\" \"factor\" \n\n<span style=\"color: #008080;\">#convert any variable of type <em>factor<\/em> to type <em>character<\/em><\/span>\nnew_data &lt;- data %&gt;% mutate_if(is.factor, as.character)\nsapply(new_data, class)\n\n#Sepal.Length Sepal.Width Petal.Length Petal.Width Species \n# \"numeric\" \"numeric\" \"numeric\" \"numeric\" \"character\"<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">De volgende code laat zien hoe u de functie <strong>mute_if()<\/strong> gebruikt om alle <em>numerieke<\/em> variabelen af te ronden op \u00e9\u00e9n decimaal:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define data as first six rows of <em>iris<\/em> dataset<\/span>\ndata &lt;- head(iris)\n\n<span style=\"color: #008080;\">#view data<\/span>\ndata\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Species\n#1 5.1 3.5 1.4 0.2 setosa\n#2 4.9 3.0 1.4 0.2 setosa\n#3 4.7 3.2 1.3 0.2 setosa\n#4 4.6 3.1 1.5 0.2 setosa\n#5 5.0 3.6 1.4 0.2 setosa\n#6 5.4 3.9 1.7 0.4 setosa\n\n<span style=\"color: #008080;\">#round any variables of type <em>numeric<\/em> to one decimal place<\/span>\ndata %&gt;% mutate_if(is.numeric, round, digits = 0)\n\n# Sepal.Length Sepal.Width Petal.Length Petal.Width Species\n#1 5 4 1 0 setosa\n#2 5 3 1 0 setosa\n#3 5 3 1 0 setosa\n#4 5 3 2 0 setosa\n#5 5 4 1 0 setosa\n#6 5 4 2 0 setosa\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>Verder lezen:<br \/> <a href=\"https:\/\/statorials.org\/nl\/een-gids-voor-het-aanbrengen-van-lapply-sapply-en-tapply-in-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">Een gids voor apply(), lapply(), sapply() en tapply() in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/organiseer-de-lijnen-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">Hoe lijnen in R te rangschikken<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/filter-rijen-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">Rijen filteren in R<\/a><br \/><\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In deze tutorial wordt uitgelegd hoe u de functie mute() in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen. Nieuwe variabelen toevoegen in R De volgende dplyr- bibliotheekfuncties kunnen worden gebruikt om nieuwe variabelen aan een dataframe toe te voegen: mute() \u2013 voegt nieuwe variabelen toe aan een dataframe terwijl bestaande variabelen [&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-515","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 Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials<\/title>\n<meta name=\"description\" content=\"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.\" \/>\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\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hoe Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials\" \/>\n<meta property=\"og:description\" content=\"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T15:53:45+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=\"4\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/\",\"url\":\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/\",\"name\":\"Hoe Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-29T15:53:45+00:00\",\"dateModified\":\"2023-07-29T15:53:45+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe mutate te gebruiken om nieuwe variabelen te maken in r\"}]},{\"@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 Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials","description":"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.","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\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/","og_locale":"de_DE","og_type":"article","og_title":"Hoe Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials","og_description":"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.","og_url":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/","og_site_name":"Statorials","article_published_time":"2023-07-29T15:53:45+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr.benjamin anderson","Gesch\u00e4tzte Lesezeit":"4\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/","url":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/","name":"Hoe Mutate te gebruiken om nieuwe variabelen te maken in R - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-29T15:53:45+00:00","dateModified":"2023-07-29T15:53:45+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"In deze tutorial wordt uitgelegd hoe u de muteerfunctie in R gebruikt om nieuwe variabelen aan een dataframe toe te voegen.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/hoe-je-mute-gebruikt-om-nieuwe-variabelen-in-r-te-maken\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Hoe mutate te gebruiken om nieuwe variabelen te maken in r"}]},{"@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\/515","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=515"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/515\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}