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 issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
This is a variant of #120. Again, you can't reproduce this because you'll hit #119 which I fixed in my fork.
When using a data.frame with only 1 column, the correlation is set to whatever the diagonal terms are set to.
Created on 2020-10-28 by the reprex package (v0.3.0)
Note that
mtcars["cyl"]
is a one-column df, and not a numeric vector (which would bemtcars[["cyl"]]
), hence it is a different bug.This will be fixed in a PR I am working on, but I probably won't fix #120 since the
y
argument should not be here IMO.The text was updated successfully, but these errors were encountered: