search for: lukor

Displaying 2 results from an estimated 2 matches for "lukor".

Did you mean: luko
2017 Nov 09
0
R-help
...nerate x,y coordinates - ?expand.grid sample n centers - ?sample select all points within defined area - ?point.in.polygon, package sp select desired number of points - ?sample Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of john lukore > Sent: Thursday, November 9, 2017 4:40 AM > To: r-help at r-project.org > Subject: [R] R-help > > Generate a clustered pattern in [0; 1]2 as follows: > > (a) Generate nc, say 20, independent cluster centres (which can be called > parents) that are distributed i.i.d. unifor...
2017 Nov 09
2
R-help
Generate a clustered pattern in [0; 1]2 as follows: (a) Generate nc, say 20, independent cluster centres (which can be called parents) that are distributed i.i.d. uniformly in the unit square; (b) then n daughters are assigned i.i.d. uniformly to these parents and such that each daughter is located i.i.d. uniformly in a disk of radius r = 0:1 centred at her parent, under the periodic boundary