Analysis and visualisation of ecological communities in R