modified the proportion frame function to output dataframe of proportion by species and site and the number of time samples per site