Learn R Programming

metaplot (version 0.7.1)

densplot.data.frame: 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 data.frame
densplot(x, ..., fun = getOption("metaplot_densplot",
  "densplot_data_frame"), verbose = metOption("metaplot_verbose_densplot",
  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

Run this code
# NOT RUN {
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'))
# }

Run the code above in your browser using DataLab