Learn R Programming

RgoogleMaps (version 1.4.3)

mypolygon: simple wrapper function to plot colored polygons

Description

same as polygon, execept the value for color is taken from the 1st element of the exra column 'col'

Usage

mypolygon(x, ...)

Arguments

x

matrix containing columns X,Y,col

extra arguments passed to polygon