flux.age.ghost | R Documentation |
Plot grey-scale representation of estimated flux rates for proxies against calendar age.
flux.age.ghost(
proxy = 1,
age.lim = c(),
yr.lim = age.lim,
age.res = 200,
yr.res = age.res,
set = get("info"),
flux = c(),
plot.range = TRUE,
prob = 0.8,
range.col = grey(0.5),
range.lty = 2,
plot.mean = TRUE,
mean.col = "red",
mean.lty = 2,
plot.median = TRUE,
median.col = "blue",
median.lty = 2,
flux.lim = c(),
flux.lab = expression("flux (g cm"^-1 * " yr"^-1 * ")"),
upper = 0.95,
rgb.scale = c(0, 0, 0),
rgb.res = 100,
dark = set$dark,
cutoff = 0.001,
BCAD = set$BCAD,
age.lab = c(),
yr.lab = age.lab,
rotate.axes = FALSE,
rev.flux = FALSE,
rev.age = FALSE,
rev.yr = rev.age
)
proxy |
Which proxy to use (counting from the column number in the .csv file after the depths column). |
age.lim |
Minimum and maximum calendar age ranges, calculated automatically by default ( |
yr.lim |
Deprecated - use age.lim instead |
age.res |
Resolution or amount of greyscale pixels to cover the age scale of the plot. Default |
yr.res |
Deprecated - use age.res instead |
set |
Detailed information of the current run, stored within this session's memory as variable info. |
flux |
Define a flux variable within the R session (consisting of depths and their proxy concentrations in two columns) and provide the name of this variable, e.g.:
|
plot.range |
Plot curves that indicate a probability range, at resolution of yr.res. |
prob |
Probability range, defaults to |
range.col |
Red seems nice. |
range.lty |
Line type of the confidence ranges. |
plot.mean |
Plot the mean fluxes. |
mean.col |
Red seems nice. |
mean.lty |
Line type of the means. |
plot.median |
Plot the median fluxes. |
median.col |
Blue seems nice. |
median.lty |
Line type of the medians. |
flux.lim |
Limits of the flux axes. |
flux.lab |
Axis labels. Defaults to |
upper |
Maximum flux rates to plot. Defaults to the upper 99%; |
rgb.scale |
The function to produce a coloured representation of all age-models. Needs 3 values for the intensity of red, green and blue. Defaults to grey-scales: |
rgb.res |
Resolution of the colour spectrum depicting the age-depth model. Default |
dark |
The darkest grey value is |
cutoff |
Point below which colours will no longer be printed. Default |
BCAD |
The calendar scale of graphs and age output-files is in |
age.lab |
The labels for the calendar axis (default |
yr.lab |
Deprecated - use age.lab instead |
rotate.axes |
The default of plotting calendar year on the horizontal axis and fluxes on the vertical one can be changed with |
rev.flux |
The flux axis can be reversed with |
rev.age |
The direction of the age axis can be reversed using |
rev.yr |
Deprecated - use rev.age instead |
To plot flux rates (e.g. pollen grains/cm2/yr) as greyscales,
provide a plain text file with headers and the data in columns separated by commas, ending in '_flux.csv'
and saved in your core's folder. The first column should contain the depths, and the next columns should contain
the proxy concentration values (leaving missing values empty). Then type for example flux.age.ghost(1)
to plot the
flux values for the first proxy in the .csv file. Instead of using a _flux.csv file, a flux variable can also be defined
within the R session (consisting of depths and their proxy concentrations in two columns). Then provide the name of this variable, e.g.: flux.age.ghost(flux=flux1)
.
See Bacon_runs/MSB2K/MSB2K_flux.csv for an example.
A plot of flux rates.
Maarten Blaauw, J. Andres Christen
## Not run:
Bacon(run=FALSE, coredir=tempfile())
agedepth(yr.res=50)
flux.age.ghost(1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.