Articles by MeanMean

Grand Central Dispatch

August 28, 2020 | MeanMean

About a decade late, but I decided to give Grand Central Dispatch (GCD) a go in R. GCD is fairly similar to OpenMP as it provides a simplified interface for pthreads. Since its release for Mac OS X 10.6 in 2009, GCD has been ported to a number of operating systems through ... [Read more...]

Mysteriously Slow sample

July 28, 2018 | MeanMean

Hi everyone, I'm at JSM 2018 right now, so feel free to drop by my session or drop by in the halls! Just give me a tweet! Back to the meat-and-potatoes of this post. A while ago I was running good old sample and comparing its performance to my lpm2_kdtree ... [Read more...]

Making Your .C Less NOTEworthy

January 12, 2018 | MeanMean

If you are a package maintainer, you may have noticed the following new notes from your code checks: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ If you are using Rcpp you can easily fix this by refreshing the auto-generated function registration. However, if you have a lot of C ...
[Read more...]

Making Your .C Less NOTEworthy

January 11, 2018 | MeanMean

If you are a package maintainer, you may have noticed the following new notes from your code checks: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ If you are using Rcpp you can easily fix this by refreshing the auto-generated function registration. However, if you have a lot of C ...
[Read more...]

The Statistician’s Apprentice: An Introduction to the SWP Operator

December 13, 2016 | MeanMean

The sweep operator as defined in (Dempster, 1969), commonly referred to as the SWP operator, is a useful tool for a computational statistician working with covariance matrices. In particular, the SWP operator allows a statistician to quickly regress all variables against one specified variable, obtaining OLS estimates for regression coefficients and ...
[Read more...]

The Statistician’s Apprentice: An Introduction to the SWP Operator

December 12, 2016 | MeanMean

The sweep operator as defined in (Dempster, 1969), commonly referred to as the SWP operator, is a useful tool for a computational statistician working with covariance matrices. In particular, the SWP operator allows a statistician to quickly regress all variables against one specified variable, obtaining OLS estimates for regression coefficients and ...
[Read more...]

meanShiftR

August 27, 2016 | MeanMean

In this blog post, I will be introducing the meanShiftR package. meanShiftR is a rewrite of my original mean shift R package from 2013, based on the Fast Library for Approximate Nearest Neighbors (FLANN). The meanShiftR package is focused on providing to R users the most computationally efficient mean shift implementations ... [Read more...]

meanShiftR

August 27, 2016 | MeanMean

In this blog post, I will be introducing the meanShiftR package. meanShiftR is a rewrite of my original mean shift R package from 2013, based on the Fast Library for Approximate Nearest Neighbors (FLANN). The meanShiftR package is focused on providing to R users the most computationally efficient mean shift implementations ... [Read more...]

Elizabeth!

August 6, 2016 | MeanMean

Over the last few months I have been spending my nights taking care of my newly born second daughter. Keeping me company during the sleepless wee hours of the morning was the Reconcilable Differences Podcast. In episode 17 of this podcast, It's Devastating, there was an open question placed by John ... [Read more...]

Elizabeth!

August 6, 2016 | MeanMean

Over the last few months I have been spending my nights taking care of my newly born second daughter. Keeping me company during the sleepless wee hours of the morning was the Reconcilable Differences Podcast. In episode 17 of this podcast, It's Devastating, there was an open question placed by John ... [Read more...]

Kernels for everyone!

August 1, 2016 | MeanMean

During my dissertation, I spent a lot of time working on spatial kernel estimates. Where spatial kernel estimates are defined as a convolution of a spatial suppport , A simple example of this estimate is a Gaussian filter or blur in more common parlance. In the Guassian filter, is the normal ... [Read more...]

Kernels for everyone!

August 1, 2016 | MeanMean

During my dissertation, I spent a lot of time working on spatial kernel estimates. Where spatial kernel estimates are defined as a convolution of a spatial suppport , A simple example of this estimate is a Gaussian filter or blur in more common parlance. In the Guassian filter, is the normal ... [Read more...]

On a finite time scale

July 28, 2016 | MeanMean

It was rumored that updates to the MacBook Pro were coming at WWDC. These rumors did not pan out. Instead it looks like the new MacBook Pro will be landing sometime later this year, possibly due to delays in availability of high end Skylake 45w mobile parts. This seems plausible, ... [Read more...]

On a finite time scale

July 28, 2016 | MeanMean

It was rumored that updates to the MacBook Pro were coming at WWDC. These rumors did not pan out. Instead it looks like the new MacBook Pro will be landing sometime later this year, possibly due to delays in availability of high end Skylake 45w mobile parts. This seems plausible, ... [Read more...]

Predicting Agriculture, Poorly (Part I)

July 23, 2016 | MeanMean

Crop rotation is an agricultural production practice to increase yield, mitigate disease, and control pests. This production practice involves growing crops in specific sequences to improve the quality of soil for the following crop. A common example in the United States is the practice of growing soybeans before corn. In ... [Read more...]

Predicting Agriculture, Poorly (Part I)

July 23, 2016 | MeanMean

Crop rotation is an agricultural production practice to increase yield, mitigate disease, and control pests. This production practice involves growing crops in specific sequences to improve the quality of soil for the following crop. A common example in the United States is the practice of growing soybeans before corn. In ... [Read more...]

The cdlTools R package

July 15, 2016 | MeanMean

This is a brief tutorial on the cdlTools package developed by Lu Chen and I to download and perform some simple analysis on USDA's cropland data layer (CDL). This tutorial will cover downloading CDL data, obtaining some zonal statistics, and explore land cover change. This package is not currently available ... [Read more...]

The cdlTools R package

July 15, 2016 | MeanMean

This is a brief tutorial on the cdlTools package developed by Lu Chen and I to download and perform some simple analysis on USDA's cropland data layer (CDL). This tutorial will cover downloading CDL data, obtaining some zonal statistics, and explore land cover change. This package is not currently available ... [Read more...]

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)