get_abundance_df {TAD}R Documentation

abundance generation

Description

abundance generation

Usage

get_abundance_df(
  weights,
  weights_factor,
  randomization_number,
  abundance_file,
  regenerate_abundance_df,
  aggregation_factor_name,
  seed
)

Arguments

weights

the dataframe of weights, one row correspond to a series of observation

weights_factor

the dataframe which contains the different factor linked to the weights

randomization_number

the number of random abundance matrix to generate

abundance_file

the path and name of the RDS file to load/save the dataframe which contains the observed data and the generated matrix

regenerate_abundance_df

boolean to specify if the abundance dataframe is computed again

aggregation_factor_name

vector of factor name for the generation of random matrix

seed

the seed of the pseudo random number generator


[Package TAD version 1.0.0 Index]