Simplify a crestObj with reconstructed values into a dataframe.

crest.simplify(x, optima = TRUE)

Arguments

x

A crestObj produced by the crest, crest.reconstruct or loo functions.

optima

A boolean to indicate whether to plot the optimum (TRUE) or the mean (FALSE) estimates.

Value

A dataframe with the age/depth of each sample and all the best reconstructed values.

Examples

head(crest.simplify(reconstr))
#>      Age     bio1     bio12
#> [1,]   1 15.71142 260.52104
#> [2,]   2 15.71142  96.39279
#> [3,]   3 15.71142  96.39279
#> [4,]   4 15.71142  96.39279
#> [5,]   5 17.31463 471.54309
#> [6,]   6 18.11623 278.75752