Description Usage Arguments Details Value Author(s) Examples
It merges palaeoecological datasets with different time intervals between consecutive samples into a single dataset with samples separated by regular time intervals defined by the user
1 2 3 4 5 | mergePalaeoData(
datasets.list = NULL,
time.column = NULL,
interpolation.interval = NULL
)
|
datasets.list |
list of dataframes, as in |
time.column |
character string, name of the time/age column of the datasets provided in |
interpolation.interval |
temporal resolution of the output data, in the same units as the age/time columns of the input data |
This function fits a loess
model of the form y ~ x
, where y
is any column given by columns.to.interpolate
and x
is the column given by the time.column
argument. The model is used to interpolate column y
on a regular time series of intervals equal to interpolation.interval
. All columns in every provided dataset go through this process to generate the final data with samples separated by regular time intervals. Non-numeric columns are ignored, and absent from the output dataframe.
A dataframe with every column of the initial dataset interpolated to a regular time grid of resolution defined by interpolation.interval
. Column names follow the form datasetName.columnName, so the origin of columns can be tracked.
Blas M. Benito <blasbenito@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.