sumPDF | R Documentation |
Create a single probability distribution function (PDF) from several individual ages.
sumPDF(ages, ageSds, distTypes = rep("G", length(ages)), ids)
ages |
vector of ages |
ageSds |
ageSds Vector of 1-sigma values for ages. 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 |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.