[R] Finding the 5th percentile

2009-04-13 Thread Henry Cooper
I have run the below function.. coef-function(N,theta,k,alpha,lamda){ omega-rgamma(N,alpha,lamda) theta-rnorm(N,theta,1/(k*omega)) coeff-1/(sqrt(omega)*theta) return(coeff) } I have been told I have to calculate the fifth percentile for :

Re: [R] Finding the 5th percentile

2009-04-13 Thread Stavros Macrakis
quantile( dsamp100, 0.05 ) On Mon, Apr 13, 2009 at 10:41 AM, Henry Cooper henry.1...@hotmail.co.uk wrote: dsamp100-coef(100,39.83,5739,2869.1,49.44) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the