Skip to content

📦 R code example to compute vulnerability metric used in Leclerc et al. (2020) [https://doi.org/10.1038/s41467-020-18740-x]

License

Notifications You must be signed in to change notification settings

CamilleLeclerc/Vulnerability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerability

📦 R code example to compute vulnerability metric used in Leclerc et al. (2020).


Vulnerability_index_computation.R gives an example of how compute vulnerability metric, by using generated random variables. The script contains the following steps:

  • Rescaling the values of vulnerability components by three methods (max-min linear rescaling ; log(x+1)-tranformed and rescaled between 0-1 ; percentile rank transformation).
  • Quantification of vulnerability index relative from positive and negative ideal solutions.

About

📦 R code example to compute vulnerability metric used in Leclerc et al. (2020) [https://doi.org/10.1038/s41467-020-18740-x]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages