Learn R Programming

sharpshootR (version 1.6)

vizHillslopePosition: Hillslope / Geomorphic Component Vizualization

Description

A unique display of hillslope or geomorhphic component probability.

Usage

vizHillslopePosition(x, s = NULL)
vizGeomorphicComponent(x, s = NULL)

Arguments

x

data.frame as created by soilDB::fetchOSD(..., extended=TRUE), see details

s

an optional soil series name, highlighted in the figure

Value

a list with the following elements:

fig

lattice object (the figure)

order

ordering of soil series

Details

Example usage

References

http://ncss-tech.github.io/AQP/soilDB/soil-series-query-functions.html

Examples

Run this code
# NOT RUN {
if(requireNamespace("curl") &
    curl::has_internet() &
    require(aqp) & 
    require(soilDB)) {

# soils of interest
s.list <- c('musick', 'cecil', 'drummer', 'amador', 'pentz', 'reiff', 
'san joaquin','montpellier','grangeville','pollasky','ramona')

# fetch and convert data into an SPC
s <- fetchOSD(s.list, extended=TRUE)

res <- vizHillslopePosition(s$hillpos)
print(res$fig)

}
# }

Run the code above in your browser using DataLab