DemandPoints: Create new DemandPoints object

View source: R/DemandPoints.R

DemandPointsR Documentation

Create new DemandPoints object

Description

This function creates a new DemandPoints object

Usage

DemandPoints(coords, weights)

Arguments

coords

base::matrix() of coordinates for each demand point.

weights

numeric weights for each demand point.

Value

A new DemandPoints object.

See Also

DemandPoints.

Examples

## Not run: 
# make demand points
dps <- DemandPoints(
 matrix(rnorm(100), ncol=2),
 runif(50)
)

# print object
print(dps)

## End(Not run)

paleo13/rapr documentation built on Feb. 12, 2024, 3:27 a.m.