Skip to contents

Polychoric Correlation Analysis

Usage

polychoriccorr(
  data,
  vars,
  corrType = "polychoric",
  method = "ml",
  ci = TRUE,
  ciWidth = 95,
  sig = TRUE,
  sigLevel = 0.05,
  matrixPlot = FALSE,
  showFreq = TRUE
)

Arguments

data

.

vars

.

corrType

.

method

.

ci

.

ciWidth

.

sig

.

sigLevel

.

matrixPlot

.

showFreq

.

Value

A results object containing:

results$instructionsa html
results$correlationsa table
results$frequenciesan array of tables
results$plotan image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$correlations$asDF

as.data.frame(results$correlations)