View source: R/clean_datasets.R
CompareToReferenceDataset | R Documentation |
Tests wether the column given is identical with another column from a reference dataset.
The order of rows is not identical in both columns, therefore a simple comparison with
identical()
is not possible.
The columns compared have the same name "name".
Both datasets have a column (e.g. with the name "Plot"), by which they can be sorted.
Is used in BetaDivMultifun to test wether the dataset content is identical with
the Synthesis dataset "Info_data_EP grass functions & services.xlsx", BExIS number
CompareToReferenceDataset(
tocompareset,
refset,
name,
sortcol = "Plot",
tolerance = 1e-04
)
tocompareset |
name of the dataset which is compared (dataset 1). Is a data.table. |
refset |
name of the reference dataset (dataset 2). This dataset can be much larger
than |
name |
names of the columns which will be compared. |
sortcol |
name of the column which is used to sort rows |
Boolean value which indicates wheter the columns are identical or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.