xsoil: xsoil

Description Usage Arguments Details Value See Also Examples

View source: R/xsoil.R

Description

Extracting soil data from downloaded images.

Usage

1
xsoil(ximages_output, localPath = tempdir())

Arguments

ximages_output

A data.frame output from ximages function.

localPath

Path to store the images. Default: tempdir()

Details

This function must be executed after downloading the images, because it depends on the output from the ximages function.

Value

It returns a data.frame object and exports a .csv file with the soil data. The .csv file will be save under a new directory (POLARISOut) in the user's machine.

See Also

xplot,ximages

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
df_test <- exkansas
df_ximages <- ximages(locations = df_test,
                      variables = c('clay'),
                      statistics = c('mean'),
                      layersdepths = c('0_5'))
df_xsoil <- xsoil(ximages_output = df_ximages)

## End(Not run)

XPolaris documentation built on Sept. 24, 2021, 1:07 a.m.