Learn R Programming

XPolaris (version 1.0.2)

xplot: xplot

Description

Identifies images containing the locations.

Usage

xplot(locations, localPath = tempdir())

Arguments

locations

A data.frame object with locations data.

localPath

Path to store the images. Default: tempdir()

Value

It returns a ggplot object and exports a .jpeg image with the locations map. Images will be saved under a new directory, called POLARISOut. The directory will be created within the localPath and used to store the raster images from the POLARIS database.

Details

This function is useful for checking if locations were correctly informed, but its output is not required by ximages or xsoil. If a given location falls in the border of an image (round coordinates), the function will make sure a minimum number of images is downloaded.

See Also

ximages,xsoil

Examples

Run this code
# NOT RUN {
df_test <- exkansas
xplot(locations = df_test)
# }

Run the code above in your browser using DataLab