findcor: Calculate the correlation between a column shared within two...

findcorR Documentation

Calculate the correlation between a column shared within two dataframes.

Description

Two dataframes from one of the "get" functions recommended, but works with any dataframe that shares columns as well as column lengths.

Usage

findcor(a, b, sdata)

Arguments

a

First dataframe

b

Second dataframe

sdata

A string of the column name to compare

Value

The correlation as a single numeric.

Examples

findcor(SPYdaily, GMEdaily, "returns")

avfintools documentation built on Oct. 6, 2022, 5:14 p.m.