This function creates a new AttributeSpace object.

AttributeSpace(planning.unit.points, demand.points, species)

Arguments

planning.unit.points

PlanningUnitPoints() for planning unit in the space.

demand.points

DemandPoints() object for the space.

species

integer species id to indicate which species the space is associated with.

See also

Examples

space <- AttributeSpace( PlanningUnitPoints( matrix(rnorm(100), ncol = 2), seq_len(50)), DemandPoints( matrix(rnorm(100), ncol = 2), runif(50)), species = 1L)