Plots Pearson's correlation between two columns in a dataframe, identified by column names. Also plots linear regression line and lists the correlation coefficient (r) and cor.test p-value.
corrPlot(x, y, data, ...)
Name of the column to form X axis
Name of the column to form Y axis
The dataframe containing the two columns
Additional options for plot()
Dixon GB, Davies SW, Aglyamova GA, Meyer E, Bay LK and Matz MV (2015) Genomic determinants of coral heat tolerance across latitudes.