You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If you want to run the code for creating reconstructions (i.e., the predict.mat and predict.mat bootstrap output for each site), then you can uncomment the section below (the code takes approximately 30 minutes to run, depending on your machine). Here, we load the existing reconstruction file to save time. First, comment out the following line:
# If you want to run the code for creating reconstructions (i.e., the predict.mat and predict.mat bootstrap output for each site), then you can uncomment the section below (the code takes approximately 30 minutes to run, depending on your machine). Below, we load output files from the model to save time.
729
+
730
+
# You can use this line once you have ran the reconstruction. The file output was too large to load into GitHub.
# Here, we pull out the data from the predict.mat objects. First, we pull out the predicted values for the four best analogues. In the analogue package, the analogues have cumulative means, so we only need to extract the four record here.
843
-
mat_prediction_4 <-
844
-
purrr::map_df(reconstructions, "recon_df")
847
+
# Since, I do not run the reconstructions script here. I saved the output as a tibble.
# If you do not want to run the code for creating reconstructions (which takes approximately 30 minutes to run, depending on your machine), then you can uncomment and run the following line:
# If you want to run the code for creating reconstructions (i.e., the predict.mat and predict.mat bootstrap output for each site), then you can uncomment the section below (the code takes approximately 30 minutes to run, depending on your machine). Below, we load output files from the model to save time.
2321
+
2322
+
# You can use this line once you have ran the reconstruction. The file output was too large to load into GitHub.
# Here, we pull out the data from the predict.mat objects. First, we pull out the predicted values for the four best analogues. In the analogue package, the analogues have cumulative means, so we only need to extract the four record here.
0 commit comments