NullModels: Null Model Analysis

View source: R/analysis.R

NullModelsR Documentation

Null Model Analysis

Description

Null Model Analysis

Usage

NullModels(
  matrix01,
  rawdata,
  NMalgo,
  NESTmethod,
  Nrun,
  Nsim,
  TargetInsurance = FALSE,
  save,
  name
)

Arguments

matrix01

formatted matrix to calculate network indices, nestedness and modularity - use contingency_mat_targets

rawdata

a dataframe with targets of the SDGs in columns and NCSs in rows - use sheets_to_df

NMalgo

name of null model algorithm

NESTmethod

method to calculate nestedness, use "NODF" or "weighted NODF"

Nrun

Number of replicate runs for metaComputesModules

Nsim

Number of null matrices

TargetInsurance

if TRUE, compute Insurance indices, if FALSE calculate network indices

save

if statement to save the results

name

the name of the data to be saved

Value

a 3 column dataframe with null model results for nestedness and modularity OR TOi and TUI


GaelMariani/NCSSDGproj documentation built on April 1, 2024, 9:18 a.m.