Create a summary table from an ensemble table
A LiPD object - an R serialization of a single LiPD file. It's a list, and is typically created by `readLipd()`
"paleoData" or "chronData"
an integer that corresponds to paleo.num or chron Data object (L$<paleo.or.chron>[[?]]) has the variable you want?
an integer that corresponds to model.num that has the variable you want
an integer that corresponds to ensembleTable you want to get the variable from?
The name of the ensemble variable (default = "ageEnsemble")
A vector of probabilites (quantiles) should be computed for the summary? (default = c(0.025,0.25,.5,.75,.975))
A vector of variableNames for the probabilites in probs (default = c("unc2.5","unc25","ageMedian","unc75","unc97.5"))
The name of the depth (or position) variable in the ensemble table (default = "depth")
A LiPD object with an added ensemble table