Description Usage Arguments Examples
This function calculates correlations between variables
1 |
df |
name of dataframe to use for correlation, needs to be long format 4 column data frame: geocode, variablename, year, value |
min.pairs |
minimum number of pairs to correlate |
verbose |
enable n and p values reporting, TRUE or FALSE |
filter.by.p |
Do you want to filter for significant p values? |
1 2 3 | #need 4 column data frame, geocode, variablename, year, value
library(hammond)
corr = hcorr(hcountryexampledata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.