Checks all parameters of the TAD and raises errors if parameters' values are incoherent.
check_parameters(
weights = NULL,
weights_factor = NULL,
trait_data = NULL,
randomization_number = NULL,
aggregation_factor_name = NULL,
statistics_factor_name = NULL,
seed = NULL,
abundance_file = NULL,
weighted_moments_file = NULL,
stat_per_obs_file = NULL,
stat_per_rand_file = NULL,
stat_skr_param_file = NULL,
regenerate_abundance_df = NULL,
regenerate_weighted_moments_df = NULL,
regenerate_stat_per_obs_df = NULL,
regenerate_stat_per_rand_df = NULL,
significativity_threshold = NULL,
lin_mod = NULL,
slope_distance = NULL,
intercept_distance = NULL,
csv_tsv_load_parameters = NULL
)the dataframe of weights, one row correspond to a series of observation
the dataframe which contains the different factor linked to the weights
a vector of the data linked to the different factor
the number of random abundance matrix to generate
vector of factor name for the generation of random matrix
vector of factor name for the computation of statistics for each generated matrix
the seed of the pseudo random number generator
the path and name of the RDS file to load/save the dataframe which contains the observed data and the generated matrix
the path and name of the RDS file to load/save the dataframe which contains the calculated moments
the path and name of the RDS file to load/save the dataframe which contains the statistics for each observed row regarding the random ones
the path and name of the RDS file to load/save the dataframe which contains the statistics for each random matrix generated
default=NULL You can provide the output to write the SKR statistics results to.
boolean to specify if the abundance dataframe is computed again
boolean to specify if the weighted moments dataframe is computed again
boolean to specify if the statistics per observation dataframe is computed again
boolean to specify if the statistics per random matrix dataframe is computed again
the significance threshold to consider that the observed value is in the randomized value
Indicates the type of linear model to use for (SKR): choose "lm" or "mblm"
slope of the theoretical distribution law (default: slope = 1 intercept = 1.86 skew-uniform distribution family)
intercept of the theoretical distribution law (default: slope = 1 intercept = 1.86 skew-uniform distribution family)
a list of parameters for each data structure we want to load. Each element must be named after the data structure we want to load.