correlation_table: Calculate all pairwise correlations of a big data set and...

View source: R/correlation_table.R

correlation_tableR Documentation

Calculate all pairwise correlations of a big data set and directly obtain a CSV table

Description

This function allows to calculating all pairwise correlations of a big data set and directly obtaining a CSV table.

Usage

correlation_table(
  data, 
  name = "")

Arguments

data

a data frame with individual participants in rows and different measures in columns. Only numerical values should be added to this data frame

name

name of the correlation comparison to specify the output file.

References

Frank E Harrell Jr (2021). Hmisc: Harrell Miscellaneous. R package version 4.6-0. https://CRAN.R-project.org/package=Hmisc

Examples

correlation_table(data = dat, name = "LearningMechanisms")

samueltobler/behavdata documentation built on July 9, 2024, 11:33 a.m.