minorFuns.Rd 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/minorFuns.R
  3. \name{minorFuns}
  4. \alias{minorFuns}
  5. \alias{search4map}
  6. \title{Minor MODIS Package Functions}
  7. \usage{
  8. search4map(pattern = "", database = "worldHires", plot = FALSE)
  9. }
  10. \arguments{
  11. \item{pattern}{Regular expression passed to \code{\link{grep}}.}
  12. \item{database}{\code{character}. Defaults to \code{"worldHires"}, see
  13. \code{\link{map}} for available options.}
  14. \item{plot}{\code{logical}, defaults to \code{FALSE}. If \code{TRUE}, search
  15. results are displayed.}
  16. }
  17. \value{
  18. A \code{list} of length 2. The first entry is the call to create the given
  19. map, whereas the second entry represents the names of areas within the
  20. search.
  21. }
  22. \description{
  23. Compendium of minor \strong{MODIS} package-related functions.
  24. }
  25. \section{Functions}{
  26. \itemize{
  27. \item \code{search4map}: Simplifies search for \strong{mapdata}-based extents
  28. }}
  29. \examples{
  30. \dontrun{
  31. search4map()
  32. search4map(pattern="USA",plot=TRUE)
  33. search4map(database="state",plot=TRUE)?map
  34. search4map(database="italy",pattern="Bolz",plot=TRUE)
  35. search4map(pattern="Sicily",plot=TRUE)
  36. }
  37. }
  38. \seealso{
  39. \code{\link{getTile}}, \code{\link{map}}, \code{\link{grep}}.
  40. }
  41. \author{
  42. Matteo Mattiuzzi
  43. }