From 2bb946d34afa652d7fe29f84004deae97353c9d8 Mon Sep 17 00:00:00 2001
From: "Nes, Egbert van" <egbert.vannes@wur.nl>
Date: Wed, 6 Jul 2022 13:43:38 +0000
Subject: [PATCH] Replace README.md

---
 README.md | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/README.md b/README.md
index b67d4e7..2bc1dcf 100644
--- a/README.md
+++ b/README.md
@@ -2,40 +2,40 @@
 
 generic_ews for MATLAB is a translation of the early warning toolbox from R to MATLAB. It includes also functions for sensitivity analysis and pvalues.
 
-The code is used in 
-M. Scheffer, E.H. van Nes, D.Bird, R.K. Bocinsky, and T.A. Kohler (2021) Loss of Resilience Preceded Transformation of Prehispanic Pueblo Societies. PNAS
+The code is used in Scheffer et al. 2021, and the code used in this paper is included.
 
 
-# Dependency:
-The software uses:
-   Statistics and Machine Learning Toolbox - Mathworks
-   Parallel Computing Toolbox (optional) - Mathworks
 
+# Dependency:
+The software uses:<ul>
+   <li>Statistics and Machine Learning Toolbox - Mathworks
+   <li>Parallel Computing Toolbox (optional) - Mathworks
+</ul>
 
 
 # Functions:
-adjustplot.m           - helper function to improve the figures
-ebisuzaki.m            - generate null models according to the Ebisuzaki (1997) method
-fishercombine.m        - combine independent p values according to the Fisher method
-generic_ews.m          - the rolling window method for early warning signals (Dakos et al. 2008)
-generic_ews_sens.m     - sensitivity analysis of generic_ews
-run_regime.m           - the main figures of Scheffer et al. 2021 are created with this code, usage:
+<ol><li>adjustplot.m           - helper function to improve the figures\
+<li>ebisuzaki.m            - generate null models according to the Ebisuzaki (1997) method\
+<li>fishercombine.m        - combine independent p values according to the Fisher method\
+<li>generic_ews.m          - the rolling window method for early warning signals (Dakos et al. 2008)\
+<li>generic_ews_sens.m     - sensitivity analysis of generic_ews\
+<li>run_regime.m           - the main figures of Scheffer et al. 2021 are created with this code, usage:
                          run_regime(data,regime), where data should be a MATLAB table with 
-                         (at least) two fields:
-                             trees
-                             tot_hab_cell
-                        The regime should be one of these strings: 
+                         (at least) two fields:<br>
+                             trees<br>
+                             tot_hab_cell<br>
+                        The regime should be one of these strings:<br>
                             'BM III','P I','P II','Early P III','Late P III','P III'
-violinplot.m           - helper function to make a violin plot
-
+<li>violinplot.m           - helper function to make a violin plot\
+</ol>
 
 # References:
-Ebisuzaki W. (1997) "A method to estimate the statistical significance of a correlation when 
-   the data are serially correlated." J Climate, 10, 2147-2153).
-Dakos, V., et al (2008). "Slowing down as an early warning signal for abrupt climate change."
-   Proceedings of the National Academy of Sciences 105(38): 14308-14312
-Dakos, V., et al (2012)."Methods for Detecting Early Warnings of Critical Transitions in Time 
-   Series Illustrated Using Simulated Ecological Data." PLoS ONE 7(7): e41010. doi:10.1371/journal.pone.0041010
+<ul><li>Ebisuzaki W. (1997) "A method to estimate the statistical significance of a correlation when the data are serially correlated." J Climate, 10, 2147-2153).
+<li>Dakos, V., et al. (2008). "Slowing down as an early warning signal for abrupt climate change." Proceedings of the National Academy of Sciences 105(38): 14308-14312
+<li>Dakos, V., et al. (2012)."Methods for Detecting Early Warnings of Critical Transitions in Time Series Illustrated Using Simulated Ecological Data." PLoS ONE 7(7): e41010. doi:10.1371/journal.pone.0041010
+<li>Scheffer, M., et al. (2021). "Loss of resilience preceded transformations of pre-Hispanic Pueblo societies". Proceedings of the National Academy of Sciences 118:e2024397118.
+</ul>
+
 
 
 # Contact:
-- 
GitLab