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
This appears to be because the ordered factor has been assigned the class "Unknown" by xray::anomalies() when it is called within xray::distributions(). When checking the class of an ordered factor, it returns a vector of length 2.
class(df_1$ord_dat)
[1] "ordered" "factor"
Since xray::anomalies() only looks at the first element of the class of the variable, it classifies the ordered factor as "Unknown".
When an ordered factor is included as a variable in xray::distributions() it returns the following warning:
In eval(xpr, envir = envir) : Ignoring variable ord_dat: Unsupported type for visualization.
This appears to be because the ordered factor has been assigned the class "Unknown" by xray::anomalies() when it is called within xray::distributions(). When checking the class of an ordered factor, it returns a vector of length 2.
Since xray::anomalies() only looks at the first element of the class of the variable, it classifies the ordered factor as "Unknown".
Thanks for the work you've put into this package! I am quite enjoying it and look forward to using it more often.
The text was updated successfully, but these errors were encountered: