Learn R Programming

MODIS (version 1.2.11)

minorFuns: Minor MODIS Package Functions

Description

Compendium of minor MODIS package-related functions.

Usage

search4map(pattern = "", database = "worldHires", plot = FALSE)

Value

A list of length 2. The first entry is the call to create the given map, whereas the second entry represents the names of areas within the search.

Arguments

pattern

Regular expression passed to grep().

database

character. Defaults to "worldHires", see maps::map() for available options.

plot

logical, defaults to FALSE. If TRUE, search results are displayed.

Functions

  • search4map(): Simplifies search for mapdata-based extents

Author

Matteo Mattiuzzi

See Also

getTile(), maps::map(), grep().

Examples

Run this code
# \donttest{
search4map()

search4map(pattern="USA",plot=TRUE)
search4map(database="state",plot=TRUE)

search4map(database="italy",pattern="Bolz",plot=TRUE)

search4map(pattern="Sicily",plot=TRUE)
# }

Run the code above in your browser using DataLab