Description Usage Arguments Value See Also Examples
This function calculates the rate of age relative to depth below the surface. It is an estimate and visualization of sedimentation rates. It uses lowess interpolation to estimate a reasonable age, give the known ages of the deposit and then computes the first order derivative at each point. It assumes you have already got the data from the Google sheet.
1 | derivative_dates(my_data, span = 0.75, ...)
|
my_data |
|
span |
the parameter α which controls the degree of smoothing for the loess interpolation. Default is 0.75. From stats::loess |
The my_data data frame with one additional column, the 'deriv' column. This contains the first order derivative of the dates.
1 2 3 4 | my_data <- get_data()
my_data <- derivative_dates(my_data)
# now plot the derivative with another variable in my_data
biplot_with_correlation(my_data, 'deriv', 'Lithic_mass_g')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.