Summarises the refits of the shared growth curves on bootstrap samples of plots (landweb_resample_psp()): for each species, each distinct set of the five traits a growth curve sets, with how many refits chose it and whether the fit to all plots chose it too.

landweb_growth_trait_frequency(resampled, fitted)

Arguments

resampled

data.table of landweb_growth_traits() from every refit, with the refit's number in resample.

fitted

landweb_growth_traits() of the fit to all plots.

Value

data.table with one row per species and set of traits: species, the five traits, growthCurveSource, n (refits that chose the set), share (n over all refits) and fullFit (TRUE for the set the fit to all plots chose). Sorted by species, then by decreasing n.