March 2019

Data Manipulation Corner Cases

March 10, 2019 | John Mount

Let’s try some "ugly corner cases" for data manipulation in R. Corner cases are examples where the user might be running to the edge of where the package developer intended their package to work, and thus often where things can go wrong. Let’s see what happens when we ...
[Read more...]

Wrangling Content Security Policies in R

March 10, 2019 | hrbrmstr

(header image via MDN Web Docs) The past two posts have used R to look at the safety/security (just assume those terms are in scare quotes from now on in every post) of web-y thing-ys. We’ll continue that theme with this post where we focus on a [sadly ...
[Read more...]

Import Excel sheets with R

March 9, 2019 | R on Dominic Royé

We usually work with different data sources, and sometimes we can find tables distributed over several Excel sheets. In this post we are going to import the average daily temperature of Madrid and Berlin which is found in two Excel files with sheets for each year between 2000 and 2005: download. Packages ... [Read more...]

Fantasy Tips From the Fantasy King

March 9, 2019 | Analysis of AFL

Selby Lee Steere has won AFL fantasy two years in a row. He is the coach of Moreiras Magic and through selling his fantasy guide donates a lot of money to the Starlight foundation. I was lucky enough to do an interview with him talking about his strategies in winning ...
[Read more...]

RcppArmadillo 0.9.200.7.1

March 8, 2019 | Thinking inside the box

A minor RcppArmadillo bugfix release arrived on CRAN today. This version 0.9.200.7.1 has two local changes. R 3.6.0 will bring a change in sample() (to correct a subtle bug for large samples) meaning many tests will fail, so in one unit test file we reset the generator to the old behaviour to ... [Read more...]

Specifying Accelerated Failure Time Models in STAN

March 8, 2019 | R on

This post is an add-on to my previous post about augmented gibbs sampling for censored survival times. If you’re not a complete maniac like me, then you probably don’t want to code your own sampler from scratch like I did in that previous post. Luckily you don’t ...
[Read more...]

Specifying Accelerated Failure Time Models in STAN

March 8, 2019 | R on

This post is an add-on to my previous post about augmented gibbs sampling for censored survival times. If you’re not a complete maniac like me, then you probably don’t want to code your own sampler from scratch like I did in that previous post. Luckily you don’t ...
[Read more...]

Plot shared favourability for two competing species

March 8, 2019 | A.M. Barbosa

The sharedFav function below implements the graphical analyses of Acevedo et al. (2010, 2012) on biogeographical interactions. It takes two vectors of favourability values at different localities for, respectively, a stronger and a weaker competing species (or two equally strong … Continue reading →
[Read more...]

Process Mining (Part 1/3): Introduction to bupaR package

March 7, 2019 | R on notast

Event Logs The digitalization of healthcare is more than just electronic medical records. It has also allowed each instance a clinician conducts an activity for a patient to be stored as a log. These logs stored in the healthcare institution’s information system are known as event logs. Event logs ... [Read more...]
1 9 10 11 12 13 16

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)