R code used to analyse Agta time budget data, as part of a paper titled "Engagement in agricultural work is associated with reduced leisure time among Agta hunter-gatherers". See 'Additional information' section of paper.