[R] Drawing sample from a circle

2010-06-18 Thread Ron Michael
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?   Thanks, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Drawing sample from a circle

2010-06-18 Thread Ted Harding
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? _ Thanks, You can quite easily write one. [A] Sampling uniformly on the circumference of the