Another correlation function?!
A table
A Plot
A print
Options
Fun with p-hacking
Credits
Another correlation function?!
Yes, the correlation function from the psycho package.
<span>devtools</span><span>::</span><span>install_github</span><span>(</span><span>"neuropsychology/psycho.R"</span><span>)</span><span> </span><span># Install the newest version</span><span>
</span><span>library</span><span>(</span><span>psycho</span><span>)</span><span>
</span><span>library</span><span>(</span><span>tidyverse</span><span>)</span><span>
</span><span>cor</span><span> </span><span><-</span><span> </span><span>psycho</span><span>::</span><span>affective</span><span> </span><span>%>%</span><span>
</span><span>correlation</span><span>()</span><span>
</span>
This function automatically select numeric variables and run a correlation analysis. It returns a psychobject.
A table
We can then extract a formatted table ...