makeMEOWmapData: makeMEOWmapData

Description Usage Arguments Details Value Author(s) Examples

Description

makeMEOWmapData takes a dataset with values and a MEOW column merges them for use by makeMEOWmap

Usage

1
2
makeMEOWmapData(newdata, fillColName, fillAlphaColName = NULL,
  regionColName = type, type = "ECOREGION", excludeNoDataAreas = T)

Arguments

newdata

dataset to be used

fillColName

name of the column with information to be used for a fill value

fillAlphaColName

Colname of column used to scale alpha level of fill

regionColName

data name of column with ecoregion, province, or realm names

type

are these values from an ECOREGION, PROVINCE, or REALM map. Defaults to "ECOREGION". Note all caps.

excludeNoDataAreas

Exclude areas/regions from the plot with no data?

Details

makeMEOWmapData takes a dataset with values and a MEOW column and makes a joined data.frame

Value

Returns data.frame object

Author(s)

Jarrett Byrnes.

Examples

1
2
3
4
5
6
data(regions.df)

ndf <- data.frame(Ecoregions = levels(regions.df$ECOREGION), 
Values = runif(length(levels(regions.df$ECOREGION)), 0,100))

head(makeMEOWmapData(ndf, fillColName="Values", regionColName="Ecoregions"))

jebyrnes/meowR documentation built on May 19, 2019, 12:39 a.m.