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
1. First request, include n:
By default, correlate() will now include sample size:
And to_correlate_matrix() provides the sample size as a header if only two variables are specified:
2. Second request, correlate with focus variable:
I've implemented a "with" parameter in the correlate() function that takes a focus variable that everything else is correlated against:
Also works without specifying vars:
Specifiyng both the partial and the with paramter in a correlate() will raise an error:
My only criticism here is, again, on the string format of the with parameter -- the remainder of the package always works with dplyr vocabulary. We should stick to that, I think.
Two requests for
correlate()
:The text was updated successfully, but these errors were encountered: