Learn R Programming

analyzer (version 1.0.1)

Cx: Plots for Continuous independent variables

Description

This function is used by [plottr()] when independent variable is continuous. This function can be used as a template to define a custom function.

Usage

Cx(dat, xname, binwidth = NULL, inc.density = T, ...)

Arguments

dat

a data.frame with only one column

xname

name of independent (x) variable in dat

binwidth

for the histograms (extra parameters can be added like this)

inc.density

Binary. True to include the density plot on histogram

...

required

Value

a grob of plot