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)

raptr documentation built on March 31, 2023, 9:46 p.m.