pp: Constructor for the pp Class

View source: R/lilhelpers.R

ppR Documentation

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.

Details

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

Author(s)

Dominic Schuhmacher dschuhm1@uni-goettingen.de

See Also

Description of pp objects.

Examples

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

## Not run:   
  plot(a)
## End(Not run)

transport documentation built on Sept. 17, 2024, 1:08 a.m.