PlotCorrWithRegrLine: Scatterplot of pairs of parameters

View source: R/Plots.R

PlotCorrWithRegrLineR 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)

LDLcalc documentation built on May 31, 2022, 5:07 p.m.