Bitcoin Forum

Other => Off-topic => Topic started by: bb113 on April 12, 2012, 06:22:59 PM



Title: R question
Post by: bb113 on April 12, 2012, 06:22:59 PM
Quote
Draws contour lines for the desired levels. There is currently no documentation about the algorithm. The source code is in `$RHOME/src/main/plot.c'.

http://wipaed.wiso.uni-goettingen.de/~holdenb1/R/library/base/html/contour.html

I need to know what algorithm R is using for contour plots. How do I find this out?


Title: Re: R question
Post by: stochastic on April 13, 2012, 07:52:10 AM
Did you try stackoverflow.com or the R help group?


Title: Re: R question
Post by: organofcorti on April 13, 2012, 12:47:35 PM
If you use package 'akima' (http://cran.r-project.org/web/packages/akima/akima.pdf) (which I use) the pdf I linked to describes the algoritms (without detail) and cites sources.

Edit: Scrub that. I just realised that akima passes on the interpolations to the contour function you linked to. I don't know if the interpolation method is what you're after, but it can't hurt to look at the package info, I suppose.


Title: Re: R question
Post by: bb113 on April 13, 2012, 07:12:56 PM
OK will check out these resources. The original link made it seem like everyone is waiting for someone else to go through the code and figure out what it is doing.