corTestDf {multiUS}R Documentation

Compute correlations and test their statistical significance

Description

The function computes the whole correlation matrix and corresponding sample sizes and p-values.

Usage

corTestDf(X, method = "p", use = "everything", ...)

Arguments

X

Data matrix with selected variables.

method

A type of correlation coefitient to be calculated, see function cor.

use

In the case of missing values, which method should be used, see function cor.

...

Arguments passed to other functions, see cor.test.

Author(s)

Aleš Žiberna

See Also

cor.test

Examples

corTestDf(mtcars[, 3:5])

[Package multiUS version 1.0.5 Index]