find_and_supplement_missing_plots: Fill number of plots to 150

find_and_supplement_missing_plotsR Documentation

Fill number of plots to 150

Description

Subfunction for add_back_missing_plots_species_combinations A dataset from soilfungi or bacteria can miss some plots. This happens if there are plots without any species (e.g. for symbiont.soilfungi in 2011). The dataset needs to be extended with the missing plots in order to use the function 'add_back_missing_plots_species_combinations', because this function only adds the missing plot x species combination, not completely missing plots.

Usage

find_and_supplement_missing_plots(diversity_dataset, all_plots)

Arguments

diversity_dataset

a species diversity data.table in the format of the exploratories synthesis diversity dataset. It contains at least the columns Plot, Species and value.

all_plots

a character vector containing the complete set of plots from the Exploratories. (AEG 1-50, HEG 1-50 and SEG 1-50).

Value

a data.table consisting of the unchanged diversity_dataset as it has been provided as input, rbinded to a minimal data.table containing a random species and the missing plots.


allanecology/multiFunBetadivLuiGDM documentation built on Nov. 12, 2023, 6:16 a.m.