Show how contamination with different fractions of modern carbon affect observed C-14 ages.
draw.contamination(
from = 0,
to = 50000,
ka = TRUE,
age.res = 500,
xlim = c(),
ylim = c(),
colours = rainbow(age.res),
max.contam = 0.1,
contam.F14C = 1,
contam.legend = max.contam * c(1/100, (1:5)/50, (1:4)/5, 1),
legend.pos = 0.07,
legend.cex = 0.6,
grid = TRUE,
xaxs = "i",
yaxs = "i"
)
A plot of real and observed (contamination-impacted) C14 ages.
Minimum 14C age for the plot. Defaults to 0
Maximum 14C age for the plot. Defaults to 50e3.
Use C14 kBP. Defaults to TRUE.
Resolution of age scale. Defaults to 500, which results in smooth curves. Higher numbers will take longer to draw.
Limits of the horizontal axis.
Limits of the vertical axis.
Colours of the percentages. Defaults to rainbow colours.
Maximum contamination level as a fraction of the sample. Defaults to 0.1 (10%).
14C activity of the sample. Defaults to 'modern' 14C, F14C=1.
Percentages for which numbers will be plotted.
horizontal position beyond which the percentage values will be plotted
font size of the legend
Whether to plot a grid. Defaults to TRUE
Whether or not to extend the limits of the horizontal axis. Defaults to xaxs="i"
which does not extend.
Whether or not to extend the limits of the vertical axis. Defaults to yaxs="i"
which does not extend.
draw.contamination()
draw.contamination(40e3, 50e3, ka=FALSE)
Run the code above in your browser using DataLab