points_as_mat function

points_as_mat

points_as_mat

Points as matrix

points_as_mat(pts)

Arguments

  • pts: Point geometry as SpatVector or sf object.

Returns

matrix

Details

Converts sf points to coordinates matrix