Learn R Programming

nasadata (version 0.9.0)

plot_earth_image: Plots the image to device

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

plot_earth_image(image_png)

Arguments

image_png
image downloaded using earth_image.

See Also

earth_image

Examples

Run this code
## Not run: 
# key <- "123key"
# img <- earth_image(key, -100.31008, 25.66779, "2016-01-01")
# plot_earth_image(img$image_png)
# ## End(Not run)

Run the code above in your browser using DataLab