Learn R Programming

metaplot (version 0.2.7)

dens.data.frame: Dens Method for Data Frame

Description

Plot density for object of class 'data.frame'. Uses nonstandard evaluation.

Usage

# S3 method for data.frame
dens(x, ..., xlab = NULL, ref = NULL, log = FALSE,
  aspect = 1, scales = NULL, panel = NULL,
  fun = getOption("metaplot_dens", "dens_data_frame"))

Arguments

x

data.frame

...

item to plot, given as unquoted column name

xlab

x axis label

ref

optional numeric

log

whether to use log scale

aspect

passed to densityplot

scales

passed to densityplot

panel

passed to densityplot

fun

function that does the actual plotting

See Also

Other univariate plots: dens.folded, dens_data_frame, metaplot.data.frame, metaplot.folded

Other dens: dens.folded, dens_data_frame

Examples

Run this code
# NOT RUN {
dens(Theoph, Wt, grid = TRUE )
# }

Run the code above in your browser using DataLab