site.pres <- rowSums(spe>0) #number of species with a value greater than 0 in that site row hist(site.pres, main="Species richness", las=1, xlab="Frequency of sites", ylab="Number of species", breaks=seq(0,30, by=5), col="grey")