Skip to contents

Extracts data from eTimeOpt. The type of data extracted depends on the output setting used for eTimeOpt. If you want ot extract specific data, adjust the output parameter in eTimeOpt to return the correct data (e.g. 2 for r^2 envelope). See eTimeOpt documentation for details on this. Then call this function on the return variable.

Usage

get_data_from_eTimeOpt(res, index = 1)

Arguments

res

results generated by eTimeOpt

index

which output should be extracted? See description for details

Value

a list with three entries "sed_rate" : numeric vector, sedimentation rates "height" : numeric vector, heights "results" : matrix with length(height) rows and length(sed_rate) columns. results of eTimeOpt

See also

sed_rate_from_matrix() to use define sedimentation rates based on this functions outputs, sedrate_to_multiadm() to estimate age-depth models from the outputs.