Usually used internally inside sim_thomas_coords
This function randomly draws points (individuals) around one or several mother points using Rcpp.
The function is an efficient re-implementation of the rThomas function from the spatstat package.
A dataframe with x and y coordinates.
The total number of points (individuals).
Number of mother points (= cluster centres).
Vector of n_mother_points
x coordinates for the mother points.
Vector of n_mother_points
y coordinates for the mother points.
Mean displacement (along each coordinate axes) of a point from its mother point (= cluster centre).
Left limit, default
=0.
Right limit, default
=1.
Bottom limit, default
=0.
Top limit, default
=1.
Felix May, Alban Sagouis