June 2020

A very short introduction to Tidyverse

June 5, 2020 | R on Dominic Royé

1 Tiyverse 2 Style guide 3 Pipe %__% 4 Tidyverse packages 4.1 Read and write data 4.2 Character manipulations 4.3 Management of dates and times 4.4 Table and vector manipulation 4.4.1 Select and rename 4.4.2 Filter and sort 4.4.3 Group and summarize 4.4.4 Join tables 4.4.5 Long and wide tables 4.5 Visualize data 4.5.1 Line and scatter plot 4.5.2 Boxplot 4.5.3 Heatmap 4.6 Apply functions on vectors or lists 1 ...
[Read more...]

Recreating rmultinom and rpois with Rcpp

June 5, 2020 | Rcpp Gallery

Sometimes one needs to mimic the exact behavior of R’s Distributions within C++ code. The incredible Rcpp team has provided access to these distributions through Rmath.h (in the R:: namespace), as well as through the Rcpp:: namespace where there can ... [Read more...]

Choose wisely your Rdoc production strategy!

June 5, 2020 | Neonira

[1] Last post ‘Still hand-crafting your Rdoc files?’ introduced package wyz.code.rdoc to produce R documentation file in a possibly fully automated way. Let’s see today, which production strategy will offer you the most powerful and productiv...
[Read more...]

R Interface to COVID-19 Data Hub

June 5, 2020 | R Tutorials

Built with R, available in any language, COVID-19 Data Hub provides a worldwide, fine-grained, unified dataset helpful for a better understanding of COVID-19. The user can instantly download up-to-date, structured, historical daily data across several official sources. The data are hourly crunched and made available in csv format on a ...
[Read more...]

Le Monde puzzle [#1146]

June 4, 2020 | xi'an

The weekly puzzle from Le Monde is once more disappointing. Everyday of the month, take 0, 1 or 2 units. If one unit taken past day, next day none can be taken. If two units taken two day ago, none can be taken the current day. What is the strategy maximising the number ...
[Read more...]

Don’t Make Arrogant Models

June 4, 2020 | EDWARD KWARTLER

Arrogance is not a good quality for your models. It’s a rarely acknowledged fact that models data scientists produce are often not sufficiently robust or fault-tolerant to actually be put into production. Sure, you can trust your predictions when th...
[Read more...]

Extrapolating with B splines and GAMs

June 3, 2020 | Gavin L. Simpson

An issue that often crops up when modelling with generlaized additive models (GAMs), especially with time series or spatial data, is how to extrapolate beyond the range of the data used to train the model? The issue arises because GAMs use splines to learn from the data using basis functions. ...
[Read more...]

Exploring My Spotify Listening

June 2, 2020 | R on Harshvardhan

I have been using Spotify for two years now. I was always curious to know my listening trends, which is why I started using last.fm and other tools like that. However, they didn’t give me exact information as to what I listened – the insigh...
[Read more...]
1 9 10 11 12

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)