PTN Module (Plant Trait Network): Functions in
the trait network module have been renamed from the TN_
prefix to PTN_ for consistency (e.g., PTN(),
PTN_metrics()). Functionality for phylogenetic correction
has been added, allowing PTN() and PTN_corr()
to account for species’ evolutionary relatedness during
analysis.
CSR Module: The module has been expanded with
the CSR_hodgson() function, implementing an alternative CSR
classification method based on Hodgson et al. (1999).
NPT Module: A discrete classification scheme has been added to the Niche Periodic Table module.
Data: A new phylogenetic tree for the PFF
dataset (PFF_tree) has been included to support the new
phylogenetic correction capabilities.
Other minor improvements and documentation enhancements have been made across the package.
CSR_plot(): Removed the dependency on
the ggtern package (no longer maintained) and implemented
plotting using ggplot2 to ensure continued compatibility and improve
stability.NAssec_axis() with
breaks = NULL.geom_sf().resolution() has been reverted
to pre-3.5.0 behaviour. Whether mapped discrete vectors should be
treated as having resolution of 1 is controlled by the new
discrete argument.guide_bins() and
guide_coloursteps() where discrete breaks, such as the
levels produced by cut(), were ordered incorrectly.