Learn R Programming

transport (version 0.15-4)

pp: Constructor for the pp Class

Description

Construct an object of class "pp" from a matrix.

Usage

pp(coordinates)

Arguments

coordinates

a matrix specifying the coordinates of the points. Each row corresponds to a point.

Author

Dominic Schuhmacher dschuhm1@uni-goettingen.de

Details

For more detailed explanations of the arguments and other components of the derived object of class "pp", see pp-object.

See Also

Description of pp objects.

Examples

Run this code
m <- matrix(c(1,1,2,2,3,1,4,2),4,2)
a <- pp(m)
print(a)
print.default(a)

if (FALSE) {  
  plot(a)}

Run the code above in your browser using DataLab