Learn R Programming

raptr (version 1.0.1)

AttributeSpace: Create new AttributeSpace object

Description

This function creates a new AttributeSpace object.

Usage

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

Value

A new AttributeSpace object.

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.

See Also

DemandPoints, PlanningUnitPoints.

Examples

Run this code
if (FALSE) {
space <- AttributeSpace(
 PlanningUnitPoints(
   matrix(rnorm(100), ncol = 2),
   seq_len(50)
 ),
 DemandPoints(
   matrix(rnorm(100), ncol = 2),
   runif(50)
  ),
 species = 1L
)
}

Run the code above in your browser using DataLab