This repository contains the primary research data and R code used for data analysis for the article "Small-scale farming in drylands: New models for resilient practices of millet and sorghum cultivation" Published in the journal PLOS ONE (https://doi.org/10.1371/journal.pone.0268120)
N.B. To run the code unzip the folder 9-RData.zip and save it in the same working directory as the datasets
V 2.0 changes:
A. Datasets 1-2-3 - small formatting corrections
B. Dataset 7 - fixing some errors in the calculations
C. Code - minor fixes and seimplicifaction