plot_earth_image: Plots the image to device

Description Usage Arguments See Also Examples

View source: R/imagery.R

Description

To avoid S4 Classes and methods, this small wrapper simply plots an image from NASA. If the purpose is to this interactively on one image, set the parameter plot = TRUE in earth_image

Usage

1
plot_earth_image(image_png)

Arguments

image_png

image downloaded using earth_image.

See Also

earth_image

Examples

1
2
3
4
5
6
## Not run: 
key <- "123key"
img <- earth_image(key, -100.31008, 25.66779, "2016-01-01")
plot_earth_image(img$image_png)

## End(Not run)

nasadata documentation built on May 2, 2019, 2:38 a.m.