# 1480 search results for "tutorial"

## Custom Legend in R

October 10, 2013
By

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...

## 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 (...

## Simplicity Explained by The Author

October 4, 2013
By

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...

## Post 0: Getting Started with R

October 4, 2013
By

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 →

## 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...

## Classification with O-PLS-DA

September 29, 2013
By

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

## Introducing imagemetrics

September 25, 2013
By

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...

## Profiling R code

September 25, 2013
By

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

## Munkres’ Assignment Algorithm with RcppArmadillo

September 24, 2013
By

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...