ageDepthPlot | R Documentation |
Make plots of the age probability density functions vs position for several samples
ageDepthPlot(
ages,
ageSds,
positions,
ids,
positionThicknesses = rep(0, length(ages)),
distTypes = rep("G", length(ages)),
legend = "color",
scale = 1,
...
)
ages |
Vector of ages |
ageSds |
Vector of 1-sigma values for ages. Must be the same length and given in the same order as |
positions |
Vector of stratigraphic positions for ages. Must be the same length and given in the same order as |
ids |
Vector of sample names for each age. All samples with the same ids will be combined into a single age PDF. Must be the same length and given in the same order as |
positionThicknesses |
Vector of stratigraphic uncertanties for each age. Specified as half thicknesses. Must be the same length and given in the same order as |
distTypes |
Vector of distribution types to model each age as. Choices are 'G' for Gaussian, and 'U' uniform. Must be the same length and given in the same order as |
legend |
c('color', 'adjacent', NA) type of legend to be drawn. color draws color coded boxes for each sample, adjacent displays sample names next to each PDF. NA omits the legend. |
scale |
scale Scaling factor for age PDFs |
... |
Optional arguments to be passed to plot legend |
The ageDepthPlot
function makes a plot of the age probability density functions vs stratigraphic position for several samples. All ages with the same name will be combined into a single PDF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.