Re: [R] [OOPS] Re: Drawing sample from a circle

2010-06-21 Thread R Heberto Ghezzo, Dr
[r-help-boun...@r-project.org] On Behalf Of Ted Harding [ted.hard...@manchester.ac.uk] Sent: Friday, June 18, 2010 5:48 AM To: r-h...@stat.math.ethz.ch Subject: [R] [OOPS] Re: Drawing sample from a circle OOPS: AN error on the code below! See in-line. Ted. On 18-Jun-10 09:33:04, Ted Harding

Re: [R] [OOPS] Re: Drawing sample from a circle

2010-06-21 Thread Ted Harding
Subject: [R] [OOPS] Re: Drawing sample from a circle OOPS: AN error on the code below! See in-line. Ted. On 18-Jun-10 09:33:04, Ted Harding wrote: On 18-Jun-10 08:04:36, Ron Michael wrote: Hi, I would like to draw 10 uniformly distributed sample points from a circle with redius one

[R] [OOPS] Re: Drawing sample from a circle

2010-06-18 Thread Ted Harding
OOPS: AN error on the code below! See in-line. Ted. On 18-Jun-10 09:33:04, Ted Harding wrote: On 18-Jun-10 08:04:36, Ron Michael wrote: Hi, I would like to draw 10 uniformly distributed sample points from a circle with redius one and centered at (0,0). Is there any R function to do that? _

Re: [R] [OOPS] Re: Drawing sample from a circle

2010-06-18 Thread Ted Harding
On 18-Jun-10 18:18:41, Ron Michael wrote: Thank you so much Teds for pviding this function. Would you please explain the theory behind that? _ Thanks, [A] Sampling uniformly on the circumference of the circle: This one is simple. Given that you are sampling uniformly on the cirumference, the

Re: [R] [OOPS] Re: Drawing sample from a circle

2010-06-18 Thread Ron Michael
Thank you so much Teds for pviding this function. Would you please explain the theory behind that?   Thanks, --- On Fri, 18/6/10, ted.hard...@manchester.ac.uk ted.hard...@manchester.ac.uk wrote: From: ted.hard...@manchester.ac.uk ted.hard...@manchester.ac.uk Subject: [OOPS] Re: [R] Drawing