You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stop("Non-continuous trait data found in input traits. ",
"Please provide only continuous trait data", call.=FALSE)
}
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.
The text was updated successfully, but these errors were encountered:
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:
fundiversity/R/fd_fric.R
Lines 65 to 68 in 0a58ab6
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.
The text was updated successfully, but these errors were encountered: