Monthly Archives: June 2014

Summing a Vector in Parallel with RcppParallel

June 28, 2014
By
Summing a Vector in Parallel with RcppParallel

The RcppParallel package includes high level functions for doing parallel programming with Rcpp. For example, the parallelReduce function can be used aggreggate values from a set of inputs in parallel. This article describes using RcppParallel to sum an R vector. Serial Version First a serial version of computing the sum of a vector. For this we use a simple call to the STL std::accumulate function: #include...

Read more »

Transforming a Matrix in Parallel using RcppParallel

June 28, 2014
By
Transforming a Matrix in Parallel using RcppParallel

The RcppParallel package includes high level functions for doing parallel programming with Rcpp. For example, the parallelFor function can be used to convert the work of a standard serial “for” loop into a parallel one. This article describes using RcppParallel to transform an R matrix in parallel. Serial Version First a serial version of the matrix transformation. We take the square root of each...

Read more »

Summing a Vector in Parallel with RcppParallel

June 28, 2014
By
Summing a Vector in Parallel with RcppParallel

The RcppParallel package includes high level functions for doing parallel programming with Rcpp. For example, the parallelReduce function can be used aggreggate values from a set of inputs in parallel. This article describes using RcppParallel to sum an R vector. Serial Version First a serial version of computing the sum of a vector. For this we use a simple call to the STL std::accumulate function: #include...

Read more »

Search and draw cities on a map using OpenStreetMap and R

June 28, 2014
By
Search and draw cities on a map using OpenStreetMap and R

(this tutorial can also by used dummies in geography...) This tutorial explains how to build a map from a matrix containing city names and corresponding country codes, as well as, eventually a frequency attached to each country. The script first find thanks to the nice open projet Open Street Map the coordinates of the corresponding

Read more »

Simple script from setting up R, Git, and Jags on Amazon EC2 Ubuntu Instance

June 28, 2014
By

Just wanted to put up the script I've been using to create an Amazon EC2 Ubuntu instance for running RStudio, Git, and Jags. There isn't anything really new in here, but it it has been serving me well. The script begins after the basic instance has bee...

Read more »

R Blog Readers Survey

June 28, 2014
By

I've almost achieved my goal of a minimum of 100 quality responses.  I will keep the survey open for a couple more days, so if you haven't responded, please feel free to have a crack at it.Regards,Coryhttps://www.surveymonkey.com/s/7DY8DYH

Read more »

Rmetrics Workshop on R in Finance and Insurance, Paris 2014

June 28, 2014
By
Rmetrics Workshop on R in Finance and Insurance, Paris 2014

Here are the slides of the talk that I gave yesterday with Prof. Frédéric Planchet at the 8th Rmetrics workshop in Insurance and Finance :   http://www.ressources-actuarielles.net/C1256F13006585B2/0/39B54166464089AFC12572B0003D88C2/$FILE/Rmetrics.pdf?OpenElement   The R codes can found here : For ESG http://www.ressources-actuarielles.net/EXT/ISFA/fp-isfa.nsf/34a14c286dfb0903c1256ffd00502d73/a5e99e9abf5d3674c125772f00600f6c/$FILE/examplesESG.R For ESGtoolkit … Continue reading →

Read more »

Lively R

June 27, 2014
By

Next week, the UseR conference comes to UCLA.  And in anticipation, I thought a little foreshadowing would be nice.  Amelia McNamara, UCLA Stats grad student and rising stats ed star, shared with me a new tool that has the potential … Continue reading →

Read more »

Scraping Fantasy Football Projections from the Web

June 27, 2014
By
Scraping Fantasy Football Projections from the Web

In this post, I show how to download fantasy football projections from the web using R.  In prior posts, I showed how to scrape projections from ESPN, CBS, NFL.com, and The post Scraping Fantasy Football Projections from the Web appeared first on Fantasy Football Analytics.

Read more »

FRAMA Part II: Replicating A Simple Strategy

June 27, 2014
By
FRAMA Part II: Replicating A Simple Strategy

This post will begin the investigation into FRAMA strategies, with the aim of ultimately finding a FRAMA trading strategy with … Continue reading →

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



http://www.eoda.de









ODSC

CRC R books series











Contact us if you wish to help support R-bloggers, and place your banner here.

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)