Articles by Econometrics and Free Software

Some fun with {gganimate}

December 26, 2018 | Econometrics and Free Software

Your browser does not support the video tag. In this short blog post I show you how you can use the {gganimate} package to create animations from {ggplot2} graphs with data from UNU-WIDER. WIID data Just before Christmas, UNU-WIDER released a new edition of their World Income Inequality Database: *NEW #... [Read more...]

A tutorial on tidy cross-validation with R

November 24, 2018 | Econometrics and Free Software

Introduction This blog posts will use several packages from the {tidymodels} collection of packages, namely {recipes}, {rsample} and {parsnip} to train a random forest the tidy way. I will also use {mlrMBO} to tune the hyper-parameters of the random forest. Set up Let’s load the needed packages:
library("tidyverse")
library("tidymodels")
library("parsnip")
library("brotools")
library("mlbench")
Load ... [Read more...]
1 5 6 7 8 9 10

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)