correlate: Compute correlation matrix

Description Usage Arguments Value

Description

Computes correlations coefficients with p-values for all specified variables.

Usage

1
correlate(data, ..., type = "pearson")

Arguments

data

A (tidy) dataset.

...

Variables to correlate with eachother.

type

Type of correlation coefficient. Either "pearson" or "spearman".

Value

A tibble containing correlation coefficients.


joon-e/jutilities documentation built on May 28, 2019, 7:34 p.m.