1481 search results for "tutorial"

In case you missed it: September 2013 Roundup

October 11, 2013
By

In case you missed them, here are some articles from September of particular interest to R users: Todd Schneider wrote an algorithm in R to find the "most concave" US state (it's NY), and created an animation to show how it works. Rob Hyndman (of the "forecast" package) describes how R-based forecasting saved the Australian government millions, in a...

Read more »

Custom Legend in R

October 10, 2013
By
Custom Legend in R

This particular custom legend was designed with three purposes: To effectively bin values based on a theoretical minimum and maximum value for that variable (e.g. -1 and 1 or 0 and 100) To use a different interval notation than the default To handle NA values Even though this particular legend was designed with those needs, it should be simple to extrapolate from...

Read more »

analyze the panel study of income dynamics (psid) with r

October 7, 2013
By

the panel study of income dynamics (psid) is a one-trick pony.  better than anything else out there, this survey allows you to answer the question, "where are they now?"  after tracking the same nationally-representative cohort of americans (...

Read more »

Simplicity Explained by The Author

October 4, 2013
By
Simplicity Explained by The Author

Source is usually best explained by the source.  Ramnath Vaidyanathan provides an excellent look under the hood in his tutorial on rCharts explaining how he integrates the new d3 library uvCharts. If you want to explore further, here is a list of...

Read more »

Post 0: Getting Started with R

October 4, 2013
By
Post 0: Getting Started with R

R is an interpreted programming language that makes it easy to think about statistics instead of thinking about programming. Unlike other programming languages, R is commonly used by typing commands one-at-a-time in an interactive session. RStudio is a program that … Continue reading →

Read more »

Questions on my online forecasting course

October 3, 2013
By

I’ve been getting emails asking questions about my upcoming course on Forecasting using R. Here are some answers. Do I need to use the Revolution Enterprise version of R, or can I use open-source R? Open source R is fine. Revolution Analytics is organizing the course, but there is no requirement to use their software. I will be using...

Read more »

Classification with O-PLS-DA

September 29, 2013
By
Classification with O-PLS-DA

Partial least squares (PLS) is a versatile algorithm which can be used to predict either continuous or discrete/categorical variables. Classification with PLS is termed PLS-DA, where the DA stands for discriminant analysis.  The PLS-DA algorithm has many favorable properties for dealing with multivariate data; one of the most important of which is how variable collinearity is

Read more »

Introducing imagemetrics

September 25, 2013
By
Introducing imagemetrics

References In my recent projects, I had the opportunity to work with the professor Raphaël Proulx who introduced me to several metrics commonly used in landscape ecology for quantifying image texture. In order to make my life easier, I decided to implement...

Read more »

Profiling R code

September 25, 2013
By
Profiling R code

Profiling R code gives you the chance to identify bottlenecks and pieces of code that needs to be more efficiently implemented . Profiling R code is usually the last thing I do in the process of package (or function) development. In my experience we can reduce the amount of time necessary to run an R

Read more »

Munkres’ Assignment Algorithm with RcppArmadillo

September 24, 2013
By
Munkres’ Assignment Algorithm with RcppArmadillo

Munkres’ Assignment Algorithm (Munkres (1957), also known as hungarian algorithm) is a well known algorithm in Operations Research solving the problem to optimally assign N jobs to N workers. I needed to solve the Minimal Assignment Problem for a relabeling algorithm in MCMC sampling for finite mixture distributions, where I use a random permutation Gibbs sampler. For each sample...

Read more »