jamovi / jmv

jamovi for R
https://www.jamovi.org
55 stars 27 forks source link

Updated corrmatrix to correlate text-type ordinal variables as well #369

Closed MAgojam closed 1 year ago

MAgojam commented 1 year ago

Some changes to corrmatrix that allow correlation to be obtained for text-type ordinal variables as well.

jonathon-love commented 1 year ago

looks good mz!

i assume the stats for pearson come through as NaN when a text variable is provided, can we provide a footnote as well, explaining why? Pearson correlation cannot be calculated for ordered text values? (wrap it in a .( ... ) so it can be translated).

also your editor seems to be inserting whitespace ... can you change this so that empty lines contain no writespace?

with thanks