Learn R Programming

raptr (version 0.0.3)

DemandPoints: Create new DemandPoints object

Description

This function creates a new DemandPoints object

Usage

DemandPoints(coords, weights)

Arguments

coords

matrix of coordinates for each demand point.

weights

numeric weights for each demand point.

See Also

DemandPoints-class

Examples

Run this code
# NOT RUN {
dps <- DemandPoints(
matrix(rnorm(100), ncol=2),
runif(50)
)
# }

Run the code above in your browser using DataLab