908 search results for "how to import image file to R"

A simple Metropolis-Hastings MCMC in R

September 17, 2010
By
A simple Metropolis-Hastings MCMC in R

While there are certainly good software packages out there to do the job for you, notably BUGS or JAGS, it is instructive to program a simple MCMC yourself. In this post, I give an educational example of the Bayesian equivalent of a linear regression, sampled by an MCMC with Metropolis-Hastings steps, based on an earlier…

Read more »

R Function Reference

September 15, 2010
By
R Function Reference

The R Function Reference is a mind map that I've created to help novice and intermediate R users perform common tasks and analyses.

Read more »

NIPS 2010: Monte Carlo workshop

September 3, 2010
By
NIPS 2010: Monte Carlo workshop

In the wake of the main machine learning NIPS 2010 meeting in Vancouver, Dec. 6-9 2010, there will be a very interesting workshop organised by Ryan Adams, Mark Girolami, and Iain Murray on Monte Carlo Methods for Bayesian Inference in Modern Day Applications, on Dec. 10. (And in Whistler, not Vancouver!) I wish I could

Read more »

Excel Errors and Other Numerical Nightmares

August 25, 2010
By
Excel Errors and Other Numerical Nightmares

Although I use Excel all the time, and I strongly encourage my students to use it for performance analysis and CaP, I was forced to include a warranty disclaimer in my GCaP book because I discovered a serious numerical error while writing Appendix B. There, my intention was just to show that Excel gives essentially the same results...

Read more »

Excel Errors and Other Numerical Nightmares

August 25, 2010
By
Excel Errors and Other Numerical Nightmares

Although I use Excel all the time, and I strongly encourage my students to use it for performance analysis and CaP, I was forced to include a warranty disclaimer in my GCaP book because I discovered a serious numerical error while writing Appendix B. There, my intention was just to show that Excel gives essentially the same results...

Read more »

Managing Market Studies in R

August 21, 2010
By
Managing Market Studies in R

I'm currently working on seasonal studies for various markets and have decided it's high time I got an organized workflow established. How does sugar behave in August every year? Is it random or are there some fundamental drivers that coerce its behavi...

Read more »

Mystery solved: The discrepancy in homicide data

July 27, 2010
By
Mystery solved: The discrepancy in homicide data

I've been complaining about how homicide statistics from police sources were too low in 2009, with the entire state of Chihuahua having less homicides than its biggest city. I was thinking of finding out if I could use the IFAI (Freedom of Information Access) to obtain the original CIEISP forms which the state police forces are supposed to fill out each month...

Read more »

Mystery solved: The discrepancy in homicide data

July 27, 2010
By
Mystery solved: The discrepancy in homicide data

I've been complaining about how homicide statistics from police sources were too low in 2009, with the entire state of Chihuahua having less homicides than its biggest city. I was thinking of finding out if I could use the IFAI (Freedom of Information Access) to obtain the original CIEISP forms which the state police forces are supposed to fill out each month...

Read more »

rgeos – Update

July 27, 2010
By
rgeos – Update

So I have been remiss in posting updates of progress on rgeos as my summer has gotten busier but the project is progressing smoothly and everything is on schedule. We have just recently passed an important personal milestone, parsing and running of all the JTS unit tests are now working and the rgeos code passes

Read more »

Quick scatterplot with associated histograms

July 22, 2010
By
Quick scatterplot with associated histograms

R can produce some beautiful graphics, and there are some excellent packages, such as lattice and ggplot2 to represent data in original ways.  But sometimes, all you want to do is explore the realtionship between pairs of variables with the minimum of fuss. In this post we’ll use the data which we imported in the

Read more »