PlotCorrWithRegrLine {LDLcalc} | R Documentation |
Scatterplot of pairs of parameters
Description
Scatterplot of pairs of parameters with the corresponding regression line.
Usage
PlotCorrWithRegrLine(df, xParam, yParam)
Arguments
df |
The data frame with the parameterrs to be plotted |
xParam |
The parameter (column name) to be plotted in the abscissa (x axis). |
yParam |
The prameter (column name) to be plotted in the ordinate (y axis). |
Value
The function returns a ggplot2 object.
Examples
## Not run:
PlotCorrWithRegrLine(sampleA,"CHOL", "HDL")
## End(Not run)
[Package LDLcalc version 2.1 Index]