Re: [R] Histogram frequencies with a normal pdf curve overlay

2009-05-09 Thread Jacques Wagnor
Thank you! On Sat, May 9, 2009 at 11:31 AM, Ted Harding wrote: > On 09-May-09 16:10:42, Jacques Wagnor wrote: >> Dear List, >> When I plot a histogram with 'freq=FALSE' and overlay the >> histogram with a normal pdf curve, everything looks as expected, >&

[R] Histogram frequencies with a normal pdf curve overlay

2009-05-09 Thread Jacques Wagnor
Dear List, When I plot a histogram with 'freq=FALSE' and overlay the histogram with a normal pdf curve, everything looks as expected, as follows: x <- rnorm(1000) hist(x, freq=FALSE) curve(dnorm(x), add=TRUE, col="blue") What do I need to do if I want to show the frequencies (freq=TRUE) with the

[R] Heat Maps

2008-11-25 Thread Jacques Wagnor
Dear List, Does there exist a function that produces a heat map like this one (image 3 of 4): http://www.tdameritrade.com/tradingtools/options360.html?a=HDY&referrer=http%3A%2F%2Fquery.nytimes.com%2Fsearch%2Fsitesearch%3Fquery%3Dheatmaptype%3Dnyt In addition to colors, two other main features I

[R] Cumulative average

2008-05-22 Thread Jacques Wagnor
Dear List, Does there exist a function that calculates a cumulative average? Neither running() from library(gregmisc) nor running.mean() from library(igraph) seems to be able to give a cumulative average. Any help or pointers would be greatly appreciated. Jacques ___

Re: [R] Cumulative average

2008-05-21 Thread Jacques Wagnor
9.60 9.83 8.714286 > 10.00 10.89 10.30 > [11] 10.727273 10.916667 10.307692 11.00 10.87 11.062500 10.823529 > 10.78 10.842105 10.50 >> > > > On Wed, May 21, 2008 at 9:48 PM, Jacques Wagnor <[EMAIL PROTECTED]> > wrote: > >>

[R] Cumulative average

2008-05-21 Thread Jacques Wagnor
Dear List, Does there exist a function that calculates a cumulative average? Neither running() from library(gregmisc) nor running.mean() from library(igraph) seems to be able to give a cumulative average. Any help or pointers would be greatly appreciated. Jacques ___

Re: [R] Confidence Interval

2008-02-03 Thread Jacques Wagnor
possible) or do you want to use a non-parametric > interval, keeping the assumptions as weak as possible (in which case, > inverting the sign test might be appropriate)? > > Finally, what has this got to do with R-help? > > > > > -Original Message- > From: [

[R] Confidence Interval

2008-02-02 Thread Jacques Wagnor
I have a model as follows: x <- replicate(100, sum(rlnorm(rpois(1,5), 0,1))) y <- quantile(x, 0.99)) How would one go about estimating the boundaries of a 95% confidence interval for y? Any pointers would be greatly appreciated. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i

[R] Confidence Interval

2008-02-02 Thread Jacques Wagnor
I have a model as follows: x <- replicate(100, sum(rlnorm(rpois(1,5), 0,1))) y <- quantile(x, 0.99)) How would one go about estimating the boundaries of a 95% confidence interval for y? Any pointers would be greatly appreciated. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i

[R] Password-protect script files

2007-09-26 Thread Jacques Wagnor
Dear List, Is there any way to password-protect script files (either within R or otherwise)? platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 5.1 year 2007 month 06 day27 s

[R] Scientific Notation

2007-09-26 Thread Jacques Wagnor
Dear List: Below is how I specify an axis: axis(2, at=c(0.5, 0.0005)) R displays the numbers in scientific notation. What argument/parameter should I use to tell R to display the numbers as specified rather than in scientific notation? > version _ platform i386-pc-ming