powered by
Get a data.frame or list with the attribute values of a SpatVector
# S4 method for SpatVector as.data.frame(x, row.names=NULL, optional=FALSE, ...)# S4 method for SpatVector as.list(x, ...)
# S4 method for SpatVector as.list(x, ...)
SpatVector
ignored
additional arguments (none)
data.frame
# NOT RUN { f <- system.file("ex/lux.shp", package="terra") v <- vect(f) as.data.frame(v) as.list(v) # }
Run the code above in your browser using DataLab