neuropsychology / psycho.R

An R package for experimental psychologists
https://neuropsychology.github.io/psycho.R/
Other
145 stars 32 forks source link

JOSS Review - 4 - polychoric and polyserial correlations #24

Closed DominiqueMakowski closed 6 years ago

DominiqueMakowski commented 6 years ago

Point 4 from JOSS Review:


It would be nice if polychoric and polyserial correlations could be included. The qgraph function cor_auto detects values and uses the lavaan function lavCor to obtain polychoric/polyserial correlations. Perhaps something like this could be included in correlation( ) as well?

DominiqueMakowski commented 6 years ago

I've added the possibility to use cor_auto instead of psych::corr.test. Unfortunately, cor_auto doesn't return p values (altough I know it's not a bad thing per se), so it cannot fully replace the default method for now.