polycorr {corrmeta}R Documentation

Calculate Polychoric Correlations

Description

This function calculates the polychoric correlations between pairs of variables in a given data frame. It returns a data frame with the row and column names of the variables, the polychoric correlation coefficient, and its standard error.

Usage

polycorr(data, varlist)

Arguments

data

data frame with "markname" and study names as column names.

varlist

character vector of study names to include in the meta-analysis.

Value

data frame with polychoric correlation coefficients and standard errors

Author(s)

Woo Jung

See Also

polychor

Examples


  data(snp_example)
  varlist <- c("trt1","trt2","trt3")
  polycorr(snp_example, varlist)



[Package corrmeta version 1.0.0 Index]