powered by
Creates plots
PlotCurves(dat, outdir = NULL, device = "png", ending = NULL, ask = TRUE, ...)
Nothing
FitCurves object with 4 elements (dfres, newdats, adfs, fits)
Directory where plots are saved
Type of file. Default is "png". Can be "pdf"
Optional. Can specify to only plot through a certain number of datasets
Can view plots one by one. If TRUE, plots will not save
Pass arguments to PlotCurve (for example yscale = c("log", "linear"))
Brent Kaplan bkaplan.ku@gmail.com, Shawn Gilroy shawn.gilroy@temple.edu
Creates and saves plots of individual demand curves
## Interactively view plots from output from FitCurves if (interactive()) { fc <- FitCurves(apt, "hs", k = 2, detailed = TRUE) PlotCurves(fc, ask = TRUE) }
Run the code above in your browser using DataLab