Learn R Programming

via (version 0.2.0)

st_transform: Projection change of an 'SfArray'-class object

Description

The method is inherited from the 'sf' class.

Usage

# S3 method for SfcArray
st_transform(x, ...)

Value

An RasterArray-class object.

Arguments

x

a sf-class object.

...

arguments passed to the st_transform function.

Examples

Run this code
data(paleocoastlines)
moll<- st_transform(paleocoastlines, "ESRI:54009")
plot(moll["20", "margin"], col="cyan")
plot(moll["20", "coast"], add=TRUE, col="brown")

Run the code above in your browser using DataLab