hdb_corr: hdb_corr

Description Usage Arguments Examples

Description

This function calculates correlations between variables

Usage

1

Arguments

df

name of dataframe to use for correlation, needs to be long format 4 column data frame: geocode, variablename, year, value

Examples

1
2
3
#need 4 column data frame, geocode, variablename, year, value
library(hammond)
corr = hcorr(hcountryexampledata)

david-hammond/hammond documentation built on Sept. 10, 2021, 5:38 a.m.