DemandPoints {raptr}R 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)

[Package raptr version 1.0.1 Index]