densplot.data.frame: Densplot Method for Data Frame

View source: R/density.R

densplot.data.frameR Documentation

Densplot Method for Data Frame

Description

Plot density for object of class 'data.frame'. Parses arguments and generates the call: fun(x, xvar, groups, facets,...).

Usage

## S3 method for class 'data.frame'
densplot(
  x,
  ...,
  fun = metOption("densplot", "densplot_data_frame"),
  verbose = metOption("verbose_densplot_data_frame", FALSE)
)

Arguments

x

data.frame

...

passed to fun

fun

plotting function

verbose

generate messages describing process

See Also

Other univariate plots: dens_panel(), densplot_data_frame(), densplot(), metaplot.data.frame(), panel.meta_densityplot()

Other densplot: densplot_data_frame(), densplot()

Other methods: axislabel.data.frame(), boxplot.data.frame(), categorical.data.frame(), corsplom.data.frame(), metaplot.data.frame(), pack.data.frame(), plot.metaplot_gtable(), print.metaplot_gtable(), scatter.data.frame(), unpack.data.frame()

Examples

densplot(Theoph, conc, grid = TRUE )
densplot(Theoph, conc, grid = TRUE, gg = TRUE )
densplot(Theoph, conc, Subject )
densplot(Theoph, conc, , Subject )
densplot(Theoph, conc, , Subject, gg = TRUE, scales = 'free_y' )
attr(Theoph,'title') <- 'Theophylline'
densplot(Theoph, conc, main= function(x,...)attr(x,'title'))
densplot(Theoph, conc, sub= function(x,...)attr(x,'title'))

bergsmat/metaplot documentation built on Feb. 21, 2024, 1:18 p.m.