Learn R Programming

inlabru (version 2.8.0)

fm_store_points: store points in different formats

Description

Convert a matrix of points into different formats.

Usage

fm_store_points(loc, crs = NULL, info = NULL, format = NULL)

Value

An sf, data.frame, or SpatialPointsDataFrame object, with optional added information.

Arguments

format

character; "sf", "df", "sp"