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 identifier to indicate which species the space is associated with.

Value

A new AttributeSpace object.

Examples

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