adolphi_tiepoint_simmer | R Documentation |
Simulate from Adolphi tie-point distributions Returns the probability distributions for the tie-points given by Adolphi et al. (2018) and Muscheler et al. (2020)
adolphi_tiepoint_simmer(
nsims = 10000,
tieshifts = numeric(5),
plotdens = FALSE,
x.ref = NULL,
plothist = list(compute = FALSE, breaks = 50, col = "orange")
)
nsims |
Integer. The number of samples to be produced. |
tieshifts |
numeric which gives the amount each tie-point should be shifted, e.g. to go from describing offset from GICC05 to years before present. |
plotdens |
boolean that is passed on to adolphiloader. Set |
x.ref |
numeric. Gives reference value on the x-axis when distributions are plotted. |
plothist |
list object describing if and how histogram of samples should be plotted |
returns a list containing the pdfs for each tie-point.
Eirik Myrvoll-Nilsen, eirikmn91@gmail.com
if(inlaloader()){
tieshifts= c(11050,12050,13050,22050,42050)
samples = adolphi_tiepoint_simmer(nsims=2000,tieshifts=tieshifts)
hist(samples[,3],col="orange",freq=0,breaks=50,main="Tie-point 3",xlab="Age (yb2k)")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.