powered by
Construct an object of class "pp" from a matrix.
"pp"
pp(coordinates)
a matrix specifying the coordinates of the points. Each row corresponds to a point.
For more detailed explanations of the arguments and other components of the derived object of class "pp", see pp-object.
pp-object
Description of pp objects.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab