a numeric matrix or data frame with coordinates (each row is a point).
data
an object of class matrix containing the population of each group at each data point. The number of rows in data should equal the number of points in coords, and the number of columns should be greater than o
env
an optional object of class matrix containing the local environment parameters. Must be the same dimensions as data. If missing, use data.
# Create a random data set with 50 data points and 3 population groupsxy <- matrix(runif(100), ncol = 2)
pop <- matrix(runif(150), ncol = 3)
localenv <- SegLocalEnv(coords = xy, data = pop)