corfun: Compute Correlation Coefficients

View source: R/corfun.R

corfunR Documentation

Compute Correlation Coefficients

Description

corfun computes the Pearson or Spearman correlation coefficients for all variable pairs. Pearson is computed for comparisons of normally distributed numeric variables, Spearman for all other comparisons.

Usage

corfun(data, variables)

Arguments

data

The data set containing the variables.

variables

The variables for which correlation coefficients are to be computed.

Author(s)

D. Schmitz

Examples

data("data_s")

corfun(data_s, c("sDurLog", "speakingRate", "typeOfS"))

corfun(data_s, c("sDurLog", "speakingRate", "typeOfS", "sDur"))

corfun(data_s, c("sDurLog", "speakingRate", "typeOfS", "sDur", "pauseDur", "pauseBin"))


dosc91/SfL documentation built on Sept. 14, 2024, 6:44 a.m.