Convert a known input format to the incidence frequency format that iNEXT expects
Source:R/convert_to_incidence_freq.R
convert_to_incidence_freq.Rd
iNEXT expects incidence frequency data to be a list, with one child per assemblage. Every child of this list starts with an integer equal to the total number of sampling units (days, plots, ...), followed by one element per species equal to the number of sampling units this species was observed in.
Arguments
- input_dataframe
dataframe with exactly the same columns as
tblWarandepark.csv
- assemblage
variable in
input_dataframe
to group by. Every value in this column will result in a seperate curve in the iNEXT output.