long format with columns trait, abundance, species, (sites, coordinates in option)
advantages: possibility to integrate intra-specific trait variation
disadvantage: not the usual community matrix used in vegan or mobr
- do we allow NA in abundance? or in traits?
- no NA allowed in species, sites or coordinates when present
- need easy function to transform data from
veganandmobrpackage - so far only one single trait, do we want to include multiple traits?
trasm new R-class
- Species, Trait, Abundance : in that order
- to be improved: add sites, coordinates and projection system
- add conversion function from mobr and vegan
do we need it? does that change the estimates? SCALE_T?
flat : for individuals, might be trickier ... should we take unique values of traits? unique combinaison of trait x species?
covTA_viaTR = EMP - NULL_SAD ? pct_covTA_viaTR_signed = 100 * covTA_viaTR / denom_delta_signed, covTA_viaTR = EMP - NULL_SAD, # alternative path
- not currently matching the number of steps because in log/sqrt scale it could be the same integer. Is it an issue? we should clarify it in the documentation
length(make_steps(m_use, n_points = 100, mode = step_scale))- naming:
make_steps()is very similar toseq()in R, so maybe rename toseq_scale()
- renamed to get_curve_from_order
- removed within_sd parameter
- similar to
vegan::rarefy()function - to be optimized?
Should be weigthed indicators (weigthed mean and sd). same for beta_cov
https://vegandevs.github.io/vegan/reference/rarefy.html https://vegandevs.github.io/vegan/reference/specaccum.html
specaccum test vs sa_all <- vegan::specaccum(wide) #, method="random"