plot_earth_image: Plots the image to device

Description Usage Arguments Value See Also Examples

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_raster_data)

Arguments

image_raster_data

image downloaded using earth_image.

Value

nothing

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)

Eflores89/nasadata documentation built on May 6, 2019, 3:23 p.m.