Description Usage Arguments Details Value Author(s) See Also Examples
saves plots from simulation data
1 2 3 |
data |
list; first sublevel of simulation data as returned by changingn.(...) or changingvar.(...) functions. e.g. simulationdata[['kernel']] |
logx |
logical; If TRUE x-axis will be logarithmic. |
ns |
logical; If TRUE the x-axis will be the sample size and not the sublevel of the input data. Can only be TRUE if 'n' is in the data as overlap-measure. |
diff |
logical; If TRUE it will plot the difference to the mean of the chosen datapoints, and not the absolute values. |
file |
string; location where the files shall be saved. will be passed to jpeg() function. |
olest |
string; name of overlap-measure, as returned by OLE function. Must be in the data. |
# takes simualtion data as produced by chaningn.daypattern as input. Thiss function will save all the plots using the OLplot function. It will save all the plots for the Overlap-Measures given by OLest. Will save files to directory given by file. if ns = TRUE it wwill use the n (if given as result in the data) on the x-axis instead of the daypattern or number of days. If diff= TRUE it will plot the distance to the mean of the respective datapoint. If logx = TRUE the x-axis will be logarithmic.
nothing but saves files to computer.
Florian Berger <florian_berger@ymail.com>
1 2 3 | #saves plots to current working directory
bla <-changingvar.beta(days=c(5,12), n = 500, repeatings = 2)
saveallplots(bla, logx = TRUE, ns = F, diff=F, file = '...')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.