Maybe we should point people to multivariate analyses to get back continuous traits. Like adding a line "If you want to use non-numeric traits with fundiversity, you have to transform them to obtain numerical traits beforehand (e.g., through a PCoA or similar techniques)"
It would probably be too specific, but at least would point user to ways to overcome the issue themselves.
For this kind of situation, instead of creating super long error messages, especially with potentially subjective information, I like to create a FAQ vignette.
It's the second person that contacts me because of the non-continuous trait error message:
https://github.com/funecology/fundiversity/blob/0a58ab61c400fc732a2e1fda17686abe278b01e7/R/fd_fric.R#L65-L68
Maybe we should point people to multivariate analyses to get back continuous traits. Like adding a line "If you want to use non-numeric traits with
fundiversity
, you have to transform them to obtain numerical traits beforehand (e.g., through a PCoA or similar techniques)"It would probably be too specific, but at least would point user to ways to overcome the issue themselves.