March 2018

ggplot2: Legend – Part 4

March 19, 2018 | Rsquared Academy Blog

Introduction This is the 16th post in the series Elegant Data Visualization with ggplot2. In the previous post, we learnt how to modify the legend of plot when shape is mapped to categorical variables. In this post, we will learn to modify the following using scale_size_continuous when size ...
[Read more...]

xts 0.10-2 on CRAN

March 19, 2018 | Joshua Ulrich

This xts release contains mostly bugfixes, but there are a few noteworthy features. Some of these features were added in version 0.10-1, but I forgot to blog about it. Anyway, in no particular order: endpoints() gained sub-second accuracy on Windows (#202)! na.locf.xts() now honors 'x' and 'xout' arguments by ... [Read more...]

Dive – the debugging function you deserve

March 19, 2018 | André Bleier

A programmer’s misery Writing R functions is always fun up until the point where you have to debug them. Especially if you are layering functions. In the best case, you can just use the native debug functionalities of R. However, in my opinion this is only feasible when you ... [Read more...]

Introducing tabr: guitar tabs with R

March 18, 2018 | R on Matthew Leonawicz

This post introduces a new R package I am working on called tabr for creating guitar tablature (“tabs”) from R code. The tabr package provides programmatic music notation and a wrapper around LilyPond for creating quality guitar tablature. tabr offers functions for describing and organizing musical structures and wraps around ...
[Read more...]

RcppSMC 0.2.1: A few new tricks

March 18, 2018 | Thinking inside the box

A new release, now at 0.2.1, of the RcppSMC package arrived on CRAN earlier this afternoon (and once again as a very quick pretest-publish within minutes of submission). RcppSMC provides Rcpp-based bindings to R for the Sequential Monte Carlo Templat... [Read more...]

Prime hints for running a data project in R

March 17, 2018 | r-tastic

I’ve been asked more and more for hints and best practices when working with R. It can be a daunting task, depending on how deep or specialised you want to be. So I tried to keep it as balanced as I could and mentioned point that definitely helped me ...
[Read more...]

ASA Conference on Statistical Practice 2018, Friday 4 of 6, Working with Health Care Data

March 17, 2018 | Dan Garmat's Blog -- R

Highlights from Conference on Statistical Practice. Friday 2/16/2018 8:00 AM Keynote Address & 9:15 AM Working with Messy Data 11:00 AM Streamlining Your Work Using (Shiny) Apps 2:00 PM Data Mining Algorithms / Presenting and Storytelling 3:45 PM Working with Health Care Data Posters I Wish I’d Seen Additional Sessions I Wish I’d Attended Saturday 2/17/2018 9:15 AM ...
[Read more...]

R Tip: Use stringsAsFactors = FALSE

March 17, 2018 | John Mount

R tip: use stringsAsFactors = FALSE. R often uses a concept of factors to re-encode strings. This can be too early and too aggressive. Sometimes a string is just a string. Sigmund Freud, it is often claimed, said: “Sometimes a cigar is just a cigar.” To avoid problems delay re-encoding of ...
[Read more...]

Paranormal Manifestations in the British Isles

March 17, 2018 | tealeaf

The British Isles are ancient, haunted places. Pre-Roman legends and folk songs are filled with dragons, magic, and strange, wild creatures. Spirits, fairies, and all kinds of imps and goblins roam the countryside with intent ranging from the mischievous to the malevolent. Will-o’-the-wisps lead unwary travellers deep into marshes ... [Read more...]

RcppClassicExamples 0.1.2

March 16, 2018 | Thinking inside the box

Per a CRAN email sent to 300+ maintainers, this package (just like many others) was asked to please register its S3 method. So we did, and also overhauled a few other packagaging standards which changed since the previous uploads in December of 2012 ... [Read more...]

RDieHarder 0.1.4

March 16, 2018 | Thinking inside the box

Per a CRAN email sent to 300+ maintainers, this package (just like many others) was asked to please register its S3 method. So we did, and also overhauled a few other packagaging standards which changed since the last upload in 2014. No NEWS.Rd file ... [Read more...]

Speeding up Metropolis-Hastings with Rcpp

March 16, 2018 | AO

Previous posts in this series on MCMC samplers for Bayesian inference (in order of publication): Bayesian Simple Linear Regression with Gibbs Sampling in R Blocked Gibbs Sampling in R for Bayesian Multiple Linear Regression Metropolis-in-Gibbs Sampling and Runtime Analysis with Profviz The code for all of these posts can be ... [Read more...]

Python’s Keras Library in R, Part 2

March 16, 2018 | sslezak

So I learned in the previous post that if an R user wants to load the Python keras library into R to run neural net models, it is necessary to load Python first. The keras package in R is an interface with Python, not a standalone package. That’s fine, ... [Read more...]
1 5 6 7 8 9 15

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)