On Wed, Oct 10, 2012 at 4:09 PM, Poizot Emmanuel
wrote:
> Le 10/10/2012 17:02, R. Michael Weylandt a écrit :
>>
>> Change 1 to some other number to get more points from runif()
>>
>> More generally, take a look at "An Introduction to R" and read most
>> everything you can find on the topic of vect
On 10-10-2012, at 16:15, Poizot Emmanuel wrote:
> Dear all,
>
> I have two coordinates vectors, say X and Y of length n.
> I want to generate for each couple of coordinates X1,Y1 X2,Y2 X3,Y3Xn,Yn
> a random coordinate which is located in a square define as X +/- dx and Y +/-
> dy.
> I saw
Change 1 to some other number to get more points from runif()
More generally, take a look at "An Introduction to R" and read most
everything you can find on the topic of vectorization. If you don't
know how to get "An Introduction to R", try typing help.start() at
your prompt and it should happen
3 matches
Mail list logo