Sets up a variety of possible input objects for
h3jsr::point_to_cell()
.
prep_for_pt2cell(input = NULL)# S3 method for sf
prep_for_pt2cell(input = NULL)
# S3 method for sfc
prep_for_pt2cell(input = NULL)
# S3 method for sfg
prep_for_pt2cell(input = NULL)
# S3 method for matrix
prep_for_pt2cell(input = NULL)
# S3 method for data.frame
prep_for_pt2cell(input = NULL)
# S3 method for numeric
prep_for_pt2cell(input = NULL)
matrix representation of supplied coordinates.
sf
, sfc
or sfg
POINT/MULTIPOINT object,
data frame or matrix. Data frames or matrices must have x, y coordinates in
their first two columns. WGS84 input is assumed in all cases.