On Sun, 2010-04-04 at 04:03 -0700, kende jan wrote: > Hello, > How can I generate randomly in R a sample of skewed data with first quartile > is 540 and third quartile is 715. > I need a sample of 100 cases. > > Thank you for your help > > Jan >
Hi Jan, Sorry my direct approach but why you don't use data <- c(runif(25,number,540),runif(50,540,715),runif(25,715,number)) -- Bernardo Rangel Tura, M.D,MPH,Ph.D National Institute of Cardiology Brazil ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.