Learn R Programming

CCAMLRGIS (version 4.2.1)

PolyData: Example dataset for create_Polys

Description

To be used in conjunction with create_Polys.

Usage

data(PolyData)

Arguments

Format

data.frame

See Also

create_Polys.

Examples

Run this code
#View(PolyData)

MyPolys=create_Polys(PolyData,Densify=TRUE)
plot(st_geometry(MyPolys),col='green')
text(MyPolys$Labx,MyPolys$Laby,MyPolys$ID)
plot(st_geometry(MyPolys[MyPolys$ID=='three',]),border='red',lwd=3,add=TRUE)

Run the code above in your browser using DataLab