The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
This vignette provides an overview of the larger scale structure of
the admtools package and the classes used therein.
admThe S3 class adm represents age
depth models. Structurally, they are
lists with five fields:
t : numeric vector, time points
h : numeric vectors, heights
destr: logical vector, is the interval
destructive
T_unit : NULL or a string, time
unit
L_unit : NULL or a string, length
unit
h[i] is the height at time t[i].
h and t must be of same length and have at
least 2 elements, t must be strictly increasing and
h must be nondecreasing. length(destr) must be
identical to length(t) - 1. destr[i] == TRUE
indicates that the time interval from t[i] to
t[i+1] is destructive and no information is preserved.
Whether tie points are considered destructive is determined by the
function is_destructive. Geologically,
destr[i] == TRUE should imply h[i] == h[i+1] ,
as no sediment is accumulated during hiatuses.
The following functions construct adm objects:
tp_to_adm for construction from tie pointssac_to_adm for construction from sediment accumulation
curves sacsplit_multiadm for extraction from multiple age-depth
models multiadmThe following functions examine the logic of adm
objects:
is_adm to check for validity of an adm objectThe following functions yield a representation of adm
objects:
plot.adm for plottingprint.adm for printing to the consolesummary.adm to provide a quick summary of an
objectThe following functions modify adm objects:
set_L_unit and set_T_unit to change
unitsThe following functions extract information from adm
objects:
condensation and condensation_fun to
extract condensationget_L_unit and get_T_unit to extract
dataget_completeness and
get_incompletenessget_heightget_timeget_hiat_durationget_hiat_listget_hiat_noget_hiat_posget_total_durationget_total_thicknessis_destructivesed_rate_l and sed_rate_l_fun to extract
sedimentation rate in height domainsed_rate_t and sed_rate_t_fun to extract
sedimentation rate in time domainmax_height.adm extracts highest stratigraphic point in
admmin_height.adm extracts lowest stratigraphic point in
admmin_time.adm extracts timing of first tie point in
admmax_time.adm extracts timing of last tie point in
admget_L_tp and get_T_tp to extract tie
points.The following functions transform adm objects into other
S3 classes:
merge_adm_to_multiadm into multiamdadd_adm_to_multiadm to add adm to
multiadmanchor to transform anchor adm at a tie
point with uncertainty, resulting in a multiadmadm_to_ddc to construct a depth-depth curve from two
age-depth modelssacThe S3 class sac represents sediment
accumulation curves. Structurally,
they are lists with four fields:
t : numeric vector, time pointsh : numeric vectors, heightsT_unit : NULL or a string, time unitL_unit : NULL or a string, length
unith[i] is the height at time t[i].
h and t must be of same length and have at
least 2 elements, t must be increasing.
The following functions construct sac objects:
Standard constructor is tp_to_sac (tie point to sediment
accumulation curve)
The following functions inspect the logic of sac
objects:
is_sac to check validity of sac
objectThe following functions yield a representation of sac
objects:
plot.sac for plottingprint.sac for printing to the consolesummary.sac to provide a quick summaryThe following functions modify sac objects:
set_L_unit and set_T_unit to change
unitsThe following functions extract information from sac
objects:
get_L_unit and get_T_unit to extract
unitsget_T_tp and get_L_tp to extract tie
pointsget_total_duration to extract total duration
coveredget_total_thicknessmin_time and max_timemin_height and max_heightThe following functions transform sac objects into other
S3 classes:
sac_to_adm to transform sac into the S3
class adm.multiadmThe S3 class multiadm represents
multiple age depth
models.. Structurally, they are lists with the
following elements:
no_of_entries: Positive integer, number of age depth
models containedt list of length no_of_entries. Each
element contains a numeric vectorh: list of length no_of_entries. Each
element contain a numeric vectordestr: list of length no_of_entries. Each
element contain a logicT_unit : NULL or a string, time unitL_unit : NULL or a string, length
unith[[i]][j] is the height of the i-th age-depth model at
time t[[i]][j]. For each i, the quintuple
h[[i]], t[[i]], destr[[i]],
T_unit and L_unit specify an adm
object with the constraints as specified in the section S3 class
adm (e.g., on monotonicity, length, etc.).
T_unit and L_unit are shared among all
age-depth models in an multiamd object.
The following functions construct multiadm objects:
anchor to construct multiadm from
uncertain tie points and adm objects.merge_adm_to_multiadm to construct
multiadm from adm objectssedrate_to_multiadm construct multiadm
from info on sedimentation rates, see
vignette("adm_from_sedrate")strat_cont_to_multiadm construct multiadm
from tracer information, see
vignette("adm_from_trace_cont")The following functions inspect the logic of multiadm
objects:
is_multiadm to check for validity of multiadm
objectThe following functions yield a representation multiadm
objects:
plot.multiadm for plottingprint.multiadm for printing to consolesummary.multiadm for providing summary statisticsThe following functions modify multiadm objects:
merge_multiadm to combine multiple
multiadm objectsset_L_unit and set_T_unit to change
unitsThe following functions extract information from
multiadm objects:
condensation to extract condensationget_completeness and
get_incompletenessget_heightget_hiat_durationget_hiat_listget_hiat_noget_hiat_posget_L_unit and get_T_unit to extract
dataget_timeget_total_durationget_total_thicknessis_destructivesed_rate_lsed_rate_tget_T_tp and get_L_tp to extract time and
length/height tie pointsThe following functions transform multiadm objects into
other S3 classes:
split_multiadm to split multiadm into list
of adm objectsmean_adm , median_adm and
quantile_adm to extract mean, median, and quantile
age-depth model of adm class.mddcThe class ddc describes
depth-depth curves
used for correlation between sections. They are lists with the following
components:
h1: numeric vector, heights in section 1h2: numeric vector, heights in section 2. Elements at
the same position in h1 and h2 are coeval
heights in the two sectionsL_unit_1: NULL or character, length unit of heights in
section 1L_unit_2: NULL or character, length unit of heights in
section 2sec_1_name: NULL or character, name of section 1sec_2_name: NULL or character, name of section 2ddc can be constructed using
adm_to_ddc to construct a depth-depth curve from two
age-depth modelstp_to_ddc to construct a depth-depth curve from coeval
tie pointsNot implemented yet
plot.ddc for plotting depth-depth curvessummary.ddc for a quick summary of the ddc objectflip_ddc to reverse direction of correlationset_L_units to change length unitsget_L_units to extract length unitsget_total_thicknesses to determine total thickness of
correlated functionsNot implemented yet
stratlist and timeliststratlist and timelist inherit from the
base list. They are list of stratigraphic positions or
times, associated with other data (e.g. trait values, proxy values)
stratlist is a list with one element named “h”timelist is a list with one element named “t”stratlist is returned by
time_to_strat.listtimelist is returned by
strat_to_time.listplot.stratlist for plotting stratlistplot.timelist for plotting timelistlistadmtools implements the following methods for
list:
strat_to_time.list: Transform strat-val pairs into time
domaintime_to_strat.list: Transform time-val pairs into strat
domainphyloadmtools implements the following methods for
phylo:
strat_to_time.phylo: Transform stratigraphic tree into
time domaintime_to_strat.phylo: Transform time tree into strat
domainpre_paleoTSadmtools implements the following methods for
pre_paleoTS objects as defined by the StratPal
package:
strat_to_time.pre_paleoTS: transform pre-paleoTS
time series into time domain
time_to_strat.pre_paleoTS: transform pre-paleoTS
time series into strat. domain
numericstrat_to_time.numeric: Transform vectors from
stratigraphic domain to time domain. Wrapper around
get_timetime_to_strat.numeric: Transform vectors from time to
stratigraphic domain. Wrapper around get_heightThe following functions are used for plotting:
plot.adm plotting for S3 class
adm
plot.multiadm plotting for S3 class
multiadm
plot.sac plotting for S3 class
sac
plot.timelist for plotting
timelist
plot.stratlist for plotting
stratlist
T_axis_lab to annotate time axis
L_axis_lab to annotate length/depth axis
plot_sed_rate_l to plot sedimentation rate in
length/depth domain
plot_sed_rate_t to plot sedimentation rate in time
domain
plot_condensation
plot_erosive_intervals to highlight erosive
intervals, called after plot.adm
The following functions are used internally and not exposed to users.
They can be accessed via admtools:::function_name.
plot_destr_parts
plot_acc_parts
make_adm_canvas
browseVignettes(package = "admtools") to show a list of
vignettesThese binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.