Description Usage Arguments Details Value Author(s) Examples
makeMEOWmapData
takes a dataset with values and a MEOW column merges them for use by makeMEOWmap
1 2 | makeMEOWmapData(newdata, fillColName, fillAlphaColName = NULL,
regionColName = type, type = "ECOREGION", excludeNoDataAreas = T)
|
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? |
makeMEOWmapData
takes a dataset with values and a MEOW column and makes a joined data.frame
Returns data.frame
object
Jarrett Byrnes.
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.