I'm new to R programing and am trying to create a polychoric correlation matrix with the polycor package. I got the polycor function running without an error message but something is not right because I'm just returned one number even though I have nine variables. If I use hetcor I get a correlation matrix but all the correlations are specified as Pearson correlations. The variable is ordinal and non-normally distributed (so I have to adjust for non-normality in a subsquent factor analysis); I don't understand why I'm getting Pearson correlations rather than polychoric correlations. The code I've used is below for each function. If anyone has suggestions on how to force hetcorr to give me polychoric correlations, or if anyone knows why polychor is returning a single value, I would appreciate hearing from you. Thanks!
Polycor::polychor (GTP5, ML=FALSE, std.err=FALSE, maxcor=.9999)
Polycor::hetcor (GTP5, ML=FALSE, std.err=TRUE)