sumPDF: Create a single probability distribution function (PDF) from...

View source: R/sumPDF.R

sumPDFR Documentation

Create a single probability distribution function (PDF) from several individual ages.

Description

Create a single probability distribution function (PDF) from several individual ages.

Usage

sumPDF(ages, ageSds, distTypes = rep("G", length(ages)), ids)

Arguments

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 ages

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 ages

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 ages


robintrayler/modifiedBChron documentation built on April 16, 2023, 6:28 p.m.