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