This function is used to find which elements of a population matrix are deemed as established. Established is determined by having a number of individuals greater than or equal to a definable proportion of the summed community size.
querryEstablished(func_inMatrix, func_sizeCol = "popSize",
func_fitCol = "fitness", func_estProp = 0.01)
This is a matrix which must contain at least one column named as func_sizeCol which contains the number of individuals in the communities' populations. But it may also be required to include a column func_fitCol if func_estProp is "Desai".
DO NOT MODIFY - this is the column name that is querried to find population sizes
DO NOT MODIFY - this is the column name that is querried to find population fitness - only important if func_estProp is set to "Desai"
If this value is less than 1 - This is the proportion of the current community size which is used to define a population as established it returns the rows of. If this value is greater than 1, it is the minimum number of individuals required before a population is considered as established. Lastly, it can be the character string "Desai", at which point - as per Desai 2007 - a lineage is established once it has 1/s individuals.
A subset form of the input func_inMatrix matrix object containing the populations which are calculated as established.