PlotCurves {beezdemand} | R Documentation |
Plot Curves
Description
Creates plots
Usage
PlotCurves(dat, outdir = NULL, device = "png", ending = NULL, ask = T, ...)
Arguments
dat |
FitCurves object with 4 elements (dfres, newdats, adfs, fits) |
outdir |
Directory where plots are saved |
device |
Type of file. Default is "png". Can be "pdf" |
ending |
Optional. Can specify to only plot through a certain number of datasets |
ask |
Can view plots one by one. If TRUE, plots will not save |
... |
Pass arguments to PlotCurve (for example yscale = c("log", "linear")) |
Details
Creates and saves plots of individual demand curves
Value
Nothing
Author(s)
Brent Kaplan <bkaplan.ku@gmail.com>, Shawn Gilroy <shawn.gilroy@temple.edu>
Examples
## Interactively view plots from output from FitCurves
fc <- FitCurves(apt, "hs", k = 2, detailed = TRUE)
PlotCurves(fc, ask = TRUE)
[Package beezdemand version 0.1.2 Index]