
Load and preprocess coral fecundity and size data
sp_order.RdLoads fecundity.csv and size_structure.csv from the inst/extdata directory,
computes derived width from area, and assigns species-level growthforms.
Value
Two data frames:
fecundity: colony area, width, and reproductive statuscoralsize: species, width, and assigned growthform
Details
fecundityincludes colony-level reproductive data.coralsizecontains colony size structure by species, with growthform classification.Width is computed as
sqrt(area_cm2 / pi) * 2.Growthforms are assigned using
fct_recode()based on species identity.