Description Usage Arguments Value Author(s) Examples
This function takes a pollen sequence as reference (sequence.A), and a target pollen sequence (sequence.B), checks the integrity of the reference sequence, and tries to adapt the target sequence to the characteristics of the reference sequence: matching column names and number of columns, and no missing data. Missing data can be handled in two ways: 1) deleting rows with NA or empty cases; 2) interpolation of empty data using the average or weighted average of contiguous cases.
1 2 3 |
sequence.A |
A dataframe containing pollen counts or percentages. This sequence will be used as reference. It will be checked for empty cases. |
sequence.A.name |
A character string with the name of the sequence. |
sequence.B |
A dataframe containing pollen data. This sequence will be compared with and adapted to the structure of sequence.A |
sequence.B.name |
A character string with the name of the sequence. |
if.empty.cases |
A character argument with two possible values "omit", or "zero". The default value is "omit", but it removes every row with at least one empty record. The option "zero" replaces NA data with zeros. |
transformation |
"none", "percentage", "proportion", "hellinger" |
silent |
Boolean, set to TRUE to hide all messages, and set to FALSE otherwise. |
A list with four slots:
taxa Common column names of the sequences, listing the taxa included in them.
metadata A dataframe with details about the processing of the sequences.
sequence.A Dataframe, a processed pollen sequence.
sequence.B Dataframe, a processed pollen sequence.
Blas Benito <blasbenito@gmail.com>
1 | data(InputDataExample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.