st_agr: get or set relation_to_geometry attribute of an 'sf' object

Description Usage Arguments Format Details

View source: R/agr.R

Description

get or set relation_to_geometry attribute of an sf object

Usage

1
2
3
4
5
6
7
NA_agr_

st_agr(x, ...)

st_agr(x) <- value

st_set_agr(x, value)

Arguments

x

object of class sf

...

ignored

value

character, or factor with appropriate levels; if named, names should correspond to the non-geometry list-column columns of x

Format

An object of class factor of length 1.

Details

NA_agr_ is the agr object with a missing value.


sf documentation built on July 24, 2019, 5:05 p.m.