Learn R Programming

raptr (version 0.0.1)

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

See Also

DemandPoints-class, PlanningUnitPoints-class.

Examples

Run this code
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