sfpts2df: Transforms an sf points into a dataframe

Description Usage Arguments Value Examples

View source: R/sfpts2df.R

Description

Transforms an sf points into a dataframe

Usage

1
sfpts2df(sfpts)

Arguments

sfpts

An sf points object.

Value

A data frame that contains the same fields as sfpts plus the longitude and latitude in 2 separate columns.

Examples

1
sfpts2df(worldpopVN::popcenters2009)

choisy/sptools documentation built on Aug. 22, 2019, 12:57 p.m.