corrPlot: Plots a pairwise correlation with linear regression line

Description Usage Arguments References

View source: R/corrPlot.R

Description

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.

Usage

1
corrPlot(x, y, data, ...)

Arguments

x

Name of the column to form X axis

y

Name of the column to form Y axis

data

The dataframe containing the two columns

...

Additional options for plot()

References

Dixon GB, Davies SW, Aglyamova GA, Meyer E, Bay LK and Matz MV (2015) Genomic determinants of coral heat tolerance across latitudes.


KOGMWU documentation built on May 2, 2019, 4 p.m.