R code used to analyze the data for the paper "Evaluating sustainable practices for certification schemes: herding practices in Mongolia"
Description
This is the R code used to analyze the data for the paper "Evaluating sustainable practices for certification schemes: herding practices in Mongolia", which was submitted to Nature Sustainability. Specifically, app.r is the R code of the R Shiny app, which allows users to apply our models developed in this study to produce a sustainability score and certification advice for their real herding scenarios. BP_analysis_models_used_in_app.r is the R code to build the models used in the above R Shiny app. BP_analysis_overall_final.r is the R code to do the overall assessment of different models using accuracy indices. BP_analysis_pred_VS_obs_final.r is the R code to compare predicted scores and the observed scores using five-fold cross-validation. BP_analysis_plotting.r is the R code to plot the results from the above program BP_analysis_overall_final.r. See the paper for more details.