modelPlot | R Documentation |
This function generates two age model plots given the output of an ageModel run.
modelPlot(
model,
agePredictOutput = NA,
predictLabels = "both",
scale = 1,
type = "PDF",
legend = "color",
...
)
model |
Output of the |
agePredictOutput |
Output of the agePredict function. If specified, points and error bars will be added to the age model plots for the predicted points |
predictLabels |
c('ages','ids','both', NA) should predicted ages and names for for points be displayed? Defaults to display both. Set to NA for no labels |
scale |
Scaling factor for age PDFs |
type |
c('PDF', contour') Shound probability be displayed as likelihood input PDFs or as contours of posterior probability. Defaults to PDF |
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. |
... |
Optional arguments to be passed to plot (xlim, ylim, xlab, ylab, main) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.