A bootstrap sample of the plots inside the fitting area, for refitting the shared growth curves to see how much the fitted traits depend on which plots happen to have been measured. As many plots as lie inside area are drawn with replacement, each with all its measurements and trees. A plot drawn more than once is copied, and each copy's plot and measurement IDs get a suffix (_r1, _r2, ...), so that Biomass_speciesParameters counts the copies as separate plots. area selects plots as the module does (PSPgis[studyAreaANPP, ]), so plots the fit would not use are not drawn.

landweb_resample_psp(psp, area, seed)

Arguments

psp

list with PSPmeasure, PSPplot and PSPgis, from PSPclean::getPSP().

area

the fitting area (sf or sfc), given to Biomass_speciesParameters as studyAreaANPP.

seed

integer seed for the draw. The global random number generator is left as it was.

Value

psp, with the drawn plots only.