generate_stat_per_rand: stats per random generation

View source: R/tad.R

generate_stat_per_randR Documentation

stats per random generation

Description

stats per random generation

Usage

generate_stat_per_rand(
  weights,
  statistics_factor_name,
  weights_factor,
  weighted_moments,
  randomization_number,
  abundance_df,
  lin_mod
)

Arguments

weights

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

statistics_factor_name

vector of factor name for the computation of statistics for each generated matrix

weights_factor

the dataframe which contains the different factor linked to the weights

randomization_number

the number of random abundance matrix to generate

lin_mod

Indicates the type of linear model to use for (SKR): choose "lm" or "mblm"


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