dur_gaps {WaverideR} | R Documentation |
calculate the duration of stratigraphic gaps using astronomical cycles
Description
calculate the duration of stratigraphic gaps using the duration of stable astronomical cycles
Usage
dur_gaps(
proxies = NULL,
retracked_period_1 = NULL,
retracked_period_2 = NULL,
min_max = NULL,
n_simulations = 10,
tracked_cycle_period = NULL,
tracked_cycle_period_unc = NULL,
tracked_cycle_period_unc_dist = "u",
pts = 5,
dj = 1/200,
lowerPeriod = 1,
upperPeriod = 3200,
period_max = NULL,
period_min = NULL,
missing_cycle_dur = NULL,
n_cycles_missing = 1,
missing_cycle_unc = NULL,
missing_cycle_unc_dist = "u",
run_multicore = FALSE
)
Arguments
proxies |
list of proxies which were used to create a astrochronological age model and which are used to calculate the duration of the gap |
retracked_period_1 |
A matrix of 3 columns in which the first column is depth/height.The second column is the period of the tracked cycle. The thirds column is uncertainty given as 1 standard deviation for the period of the tracked cycle. The gap to be modeled should be located in between retracked_period_1 and retracked_period_2 |
retracked_period_2 |
A matrix of 3 columns in which the first column is depth/height.The second column is the period of the tracked cycle. The thirds column is uncertainty given as 1 standard deviation for the period of the tracked cycle. The gap to be modeled should be located in between retracked_period_1 and retracked_period_2 |
min_max |
list of "min" or "max" indicating whether time should be estimated between minima or maxima for each proxy |
n_simulations |
number of gap duration to calculate |
tracked_cycle_period |
period in time of the tracked cycle |
tracked_cycle_period_unc |
uncertainty in the period of the tracked cycle |
tracked_cycle_period_unc_dist |
distribution of the uncertainty of the
tracked cycle value need to be either "u" for uniform distribution or
"n" for normal distribution |
pts |
the pts parameter specifies how many points to the left/right up/down the peak detect algorithm goes in detecting
a peak. The peak detecting algorithm works by comparing the values left/right up/down of it, if the values are both higher or lower
then the value a peak. To deal with error produced by this algorithm the pts parameter can be changed which can
aid in peak detection. Usually increasing the pts parameter means more peak certainty, however it also means that minor peaks might not be
picked up by the algorithm |
dj |
Spacing between successive scales. The CWT analyses analyses the signal using successive periods
which increase by the power of 2 (e.g.2^0=1,2^1=2,2^2=4,2^3=8,2^4=16). To have more resolution
in-between these steps the dj parameter exists, the dj parameter specifies how many extra steps/spacing in-between
the power of 2 scaled CWT is added. The amount of steps is 1/x with a higher x indicating a smaller spacing.
Increasing the increases the computational time of the CWT |
lowerPeriod |
Lowest period to be analyzed |
upperPeriod |
Upper period to be analyzed |
period_max |
Maximum period (upper boundary) to be used to extract a cycle. |
period_min |
Minimum period (lower boundary) to be used to extract a cycle. |
missing_cycle_dur |
duration of the missing cycles |
n_cycles_missing |
number of missing cycles |
missing_cycle_unc |
duration uncertainty of the missing cycle |
missing_cycle_unc_dist |
distribution of the uncertainty of the
tracked cycle value need to be either "u" for uniform distribution or
"n" for normal distribution |
run_multicore |
Run function using multiple cores |
Value
a vector with all the calculated gap durations