rCluster: Generates random points by a clustering process

Description Usage Arguments Value

Description

Used by makePoints, similar to a Thomas clustering method but with less randomness. Chooses an appropriate number of parent locations randomly Assigns children in terms of their deviations from parent coordinates Assigns each child to a parent as uniform multinomial distribution Culls children placed outside of bounds

Usage

1
rCluster(pointsToPlace, n.children, spread = 0.05, hAsp = 1)

Arguments

pointsToPlace

the number of points to be returned

n.children

number of points per cluster

spread

standard deviation of distance from parents to children

hAsp

horizontal to vertical aspect ratio of window.

Value

list of x and y coordinates


gregorp/rlandscape documentation built on May 17, 2019, 8:36 a.m.