2015

Shiny CRUD App

September 27, 2015 | gluc

In this post, we write a shiny app that lets you display and modify data that is stored in a database table. Shiny and Databases Everybody loves Shiny, and rightly so. It lets you publish reproducible research, brings R applications to non-R users, and can even serve as a general ... [Read more...]

A Data Cleaning Example

September 27, 2015 | steadyfish

For this particular example, the variables of interest are stored as key:value pairs and a single data cell could contain multiple (unknown) number of key:value pairs. Basically, we want to convert input dataset on LHS to the output dataset on the RHS as illustrated in the graphic below ...
[Read more...]

A Data Cleaning Example

September 27, 2015 | steadyfish

For this particular example,the variables of interest are stored as key:value pairs anda single data cell could contain multiple (unknown) number of key:value pairs.The objective is to separate these key-value pairs and store the values in co... [Read more...]

Eroding Commitment

September 27, 2015 | screenshotguy

There’s an old saying that goes: “If you dream and want something hard enough, but have no commitment….then you’re probably full of shit”. After having finished the Getting and Cleaning Data course on Coursera, I haven’t typed a single line of R … Continue reading → [Read more...]

Computational Time of Predictive Models

September 25, 2015 | arthur charpentier

Tuesday, at the end of my 5-hour crash course on machine learning for actuaries, Pierre asked me an interesting question about computational time of different techniques. I’ve been presenting the philosophy of various algorithm, but I forgot to mention computational time. I wanted to try several classification algorithms on ...
[Read more...]

Notes on Multivariate Gaussian Quadrature (with R Code)

September 25, 2015 | BioStatMatt

Statisticians often need to integrate some function with respect to the multivariate normal (Gaussian) distribution, for example, to compute the standard error of a statistic, or the likelihood function in of a mixed effects model. In many (most?) useful cases, these integrals are intractable, and must be approximated using computational ... [Read more...]

Session info from R/Travis

September 25, 2015 | Karl Broman

For the problem I reported yesterday, in which my R package was working fine locally but failing on Travis, the key solution is to run update.packages(ask=FALSE) locally, and maybe even update.packages(ask=FALSE, type="source") to be sure to grab the source of packages for which ... [Read more...]

Reproducibility in computational research

September 25, 2015 | R on Rob J Hyndman

Jane Frazier spoke at our research team meeting today on “Reproducibility in computational research”. We had a very stimulating and lively discussion about the issues involved. One interesting idea was that reproducibility is on a scale, and we can all aim to move further along the scale towards making our ... [Read more...]

Reproducibility in computational research

September 25, 2015 | Rob J Hyndman

Jane Frazier spoke at our research team meeting today on “Reproducibility in computational research”. We had a very stimulating and lively discussion about the issues involved. One interesting idea was that reproducibility is on a scale, and we can all aim to move further along the scale towards making our ... [Read more...]

RcppEigen 0.3.2.5.1

September 24, 2015 | Thinking inside the box

A bugfix release of RcppEigen is now on CRAN and in Debian. The NEWS file entry follows. Changes in RcppEigen version 0.3.2.5.1 (2015-09-23) Corrected use of kitten() thanks to Grant Brown (#21) Applied upstream change to protect agains... [Read more...]

Visualizing Sort Algorithms With ggplot

September 24, 2015 | Joshua Kunst

Have you read Visualizing Algorithms by Mike Bostock? It's a pure gold post. In that post Mike show a static representation of a sort algorith and obvious it will fun to replicate that image with ggplot. So here we go. We need some sorts algorihms. In this link you can ... [Read more...]

R – My journey so far

September 24, 2015 | Alvaro "Blag" Tejada Galindo

The first time I heard about R, was about 4 years ago...a couple of week after I joined SAP. At that time I read in one of our internal documents that SAP HANA was going to be able to interact with the R programming Language.At first, I was totally ...
[Read more...]

R – My journey so far

September 24, 2015 | Alvaro "Blag" Tejada Galindo

The first time I heard about R, was about 4 years ago...a couple of week after I joined SAP. At that time I read in one of our internal documents that SAP HANA was going to be able to interact with the R programming Language.At first, I was totally ...
[Read more...]

Solving Tic-Tac-Toe with R data.tree

September 24, 2015 | gluc

In this post, we do a brute force solution of Tic-Tac-Toe, the well-known 3*3 game. You’ll learn how data.tree can be used to build a tree of game history, and how the resulting data.tree structure can be used to analyse the game. This post is based on data.... [Read more...]

It’s not you, it’s me

September 24, 2015 | Karl Broman

Somehow when my code stops working, my first (and second, and third) reaction is to blame everything except my own code. (“It’s not me, it’s you.”) And almost always, it’s my own code that’s the problem (hence the title of this post). I spent the day ... [Read more...]
1 40 41 42 43 44 143

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)