See the run.cor.examp function in the TeachingDemos package (in addition to the mvrnorm function in MASS).
Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of June Kim > Sent: Thursday, March 05, 2009 4:47 AM > To: r-help@r-project.org > Subject: [R] a few scatter plots for a specific correlation value > > Hello, > > Is there a simple way to draw a few random sample scatter plots from a > given specific correlation coefficient(say, 0.18)? > > ______________________________________________ > 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. ______________________________________________ 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.