AttributeSpace: Create new AttributeSpace object

View source: R/AttributeSpace.R

AttributeSpaceR Documentation

Create new AttributeSpace object

Description

This function creates a new AttributeSpace object.

Usage

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.

See Also

DemandPoints, PlanningUnitPoints.

Examples

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

## End(Not run)

jeffreyhanson/raptr documentation built on Feb. 3, 2024, 10:56 p.m.