January 2016

Introduction to RcppNT2

January 31, 2016 | 0 Comments

Modern CPU processors are built with new, extended instruction sets that optimize for certain operations. A class of these allow for vectorized operations, called Single Instruction / Multiple Data (SIMD) instructions. Although modern compilers will u... [Read more...]

Using RcppNT2 to Compute the Variance

January 31, 2016 | 0 Comments

Introduction The Numerical Template Toolbox (NT2) collection of header-only C++ libraries that make it possible to explicitly request the use of SIMD instructions when possible, while falling back to regular scalar operations when not. NT2 itself is p... [Read more...]

Using RcppNT2 to Compute the Sum

January 31, 2016 | 0 Comments

Introduction The Numerical Template Toolbox (NT2) collection of header-only C++ libraries that make it possible to explicitly request the use of SIMD instructions when possible, while falling back to regular scalar operations when not. NT2 itself is powered by Boost, alongside two proposed Boost libraries – Boost.Dispatch, which provides a ...
[Read more...]

Connecting Religion and Demographics

January 31, 2016 | 0 Comments

I have my second guest post up today at Ari Lamstein’s blog where I conclude my exploration of the Religious Congregations and Membership Study at the ARDA. In this post I show how we can look at the relationships between a data set like the religion census and demographic ... [Read more...]

Using RcppNT2 to Compute the Variance

January 31, 2016 | 0 Comments

Introduction The Numerical Template Toolbox (NT2) collection of header-only C++ libraries that make it possible to explicitly request the use of SIMD instructions when possible, while falling back to regular scalar operations when not. NT2 itself is powered by Boost, alongside two proposed Boost libraries – Boost.Dispatch, which provides a ...
[Read more...]

Introduction to RcppNT2

January 31, 2016 | 0 Comments

Modern CPU processors are built with new, extended instruction sets that optimize for certain operations. A class of these allow for vectorized operations, called Single Instruction / Multiple Data (SIMD) instructions. Although modern compilers will use these instructions when possible, they are often unable to reason about whether or not a ...
[Read more...]

Shiny Developer Conference

January 31, 2016 | 0 Comments

Really enjoying RStudio‘s Shiny Developer Conference | Stanford University | January 2016. Winston Chang just demonstrated profvis, really slick. You can profile code just by wrapping it in a profvis({}) block and the results are exported as interactive HTML widgets. For example, running the R code below: if(!('profvis' %in% rownames(installed....
[Read more...]

R Tagosphere!

January 31, 2016 | 0 Comments

This post explores the inter-relationships of StackOverflow Tags for R-related questions. So I grabbed all the questions tagged with “r”, took the other tags in each question and made some network charts that show how often each tag is seen with the other tags. The point is to see the ...
[Read more...]

Hillary Clinton’s Biggest 2016 Rival: Herself

January 30, 2016 | 0 Comments

In a recent post I noted that despite Bernie Sanders doing better in many important indicators, Obama 2008 received 3x more media coverage than Sanders 2016.Reasonably, a reader of my blog noted that not all coverage was equal, that a presidential hope... [Read more...]

Strategies to Speedup R Code

January 30, 2016 | 0 Comments

The for-loop in R, can be very slow in its raw un-optimised form, especially when dealing with larger data sets. There are a number of ways you can make your logics run fast, but you will be really surprised how fast you can actually go. This posts shows a number ... [Read more...]

R Graph Objects: igraph vs. network

January 30, 2016 | 0 Comments

While working on new graph functions for my package toaster I had to pick from the R packages that represent graphs. The choice was between network and graph objects from the network and igraph correspondingly - the two most prominent packages for creating and manipulating graphs and networks in R....
[Read more...]

The R-Podcast Episode 16: Interview with Dean Attali

January 30, 2016 | 0 Comments

Direct from the first-ever Shiny Developer conference, here is episode 16 of the R-Podcast! In this episode I sit down with Dean Attali for an engaging conversation about his journey to using R, his motivation for creating the innovative shinyjs packa... [Read more...]

The correlation between original and replication effect sizes might be spurious

January 29, 2016 | 0 Comments

In the reproducibility project, original effect sizes correlated r=0.51 with the effect sizes of replications. Some researchers find this hopeful.Less-popularised findings from the "estimating the reproducibility" paper @Eli_Finkel #SPSP2016 pic.twitter.com/8CFJMbRhi8— Jessie Sun (@JessieSunPsych) January 28, 2016I don’t think we should be interpreting this correlation at ...
[Read more...]

New Yorkers, municipal bikes, and the weather

January 29, 2016 | 0 Comments

Like many modern cities, New York offers a public pick-up/drop-off bicycle service (called Citi Bikes). Subscribing City Bike members can grab a bike from almost 500 stations scattered around the city, hop on and ride to their destination, and drop the bike at a nearby station. (Visitors to the city ... [Read more...]
1 2 3 17

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)