Learn R Programming

ppsr (version 0.0.5)

score_correlations: Calculate correlation coefficients for whole dataframe

Description

Calculate correlation coefficients for whole dataframe

Usage

score_correlations(df, ...)

Value

a data.frame with x-y correlation coefficients

Arguments

df

data.frame containing columns for x and y

...

arguments to pass to stats::cor()

Examples

Run this code
score_correlations(iris)

Run the code above in your browser using DataLab