get_abundance_df: abundance generation

View source: R/tad.R

get_abundance_dfR 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


TAD documentation built on April 4, 2025, 5:10 a.m.