A ggplot object representing the ternary plot of CSR strategies.
Arguments
data
A dataframe containing required columns: C, S, R (numeric values between 0-1)
and type (categorical classification)
point_size
Numeric, diameter of plot points (default = 3)
point_shape
Numeric, symbol code for data points (default = 21, circle with border)
expand_margin
Numeric, coefficient for plot margin expansion (default = 1)
custom_colors
Character vector specifying hex color codes for categorical types
Details
This function implements:
Configurable point attributes (size, shape)
Adjustable plot boundaries
User-defined color schemes for categories
Automated legend column optimization
Standardized legend positioning
Reference grid and directional indicators
References
Grime, J.P. (1974). Vegetation classification by reference to strategies. Nature, 250, 26–31.
Pierce, S., Negreiros, D., Cerabolini, B.E.L., Kattge, J., Díaz, S., et al. (2017). A global method for calculating plant CSR ecological strategies applied across biomes world-wide. Funct Ecol, 31: 444-457.