setdata {ggplot}R Documentation

Set default dataset for a plot

Description

Set the default data set for a plot object

Usage

setdata(p = .PLOT, data)

Arguments

p plot object, if not specified will use current plot
data new data set

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot version 0.4.2 Index]