Learn R Programming

soilprofile (version 1.0)

plot.profile.data.frame: The main plotting function for a soil profile

Description

A function that draws a soil profile based on simple field data.

Usage

"plot"(x, y, ...)

Arguments

x
An object of class 'profile.data.frame'
y
Unused argument (only for matching the arguments of generic plot function)
...
All arguments allowed in 'plot_profile' function. See details.

Value

A complex list of all numeric values necessary to plot one (or more) soil profile(s). The plot can be assigned and used to plot the same soil profile(s) more than once. See arguments 'random' and 'existing data' in 'plot_profile' for details.

Details

This function is a generic 'plot' function for objects of class 'profile.data.frame'. For details of the arguments see 'plot_profile'.

Examples

Run this code
## Not run: 
# plot(example, random=FALSE, existing_data=example.data)
# plot(example)
# ## End(Not run)

Run the code above in your browser using DataLab