plotOLdata: normal plot for simulation data

Description Usage Arguments Details Value Author(s) See Also

View source: R/plotOLdata.R

Description

normal plot for simulation data

Usage

1
2
plotOLdata(data, truevalue, olname, distrest = "fitdistr", logx = TRUE,
  ns = F, diff = F, ylim = NULL, xlim = NULL)

Arguments

data

list; first sublevel of simulation data as returned by changingn.(...) or changingvar.(...) functions. e.g. simulationdata[['kernel']]

truevalue

numeric; a horizontal line with the given number as y-value.

olname

string; name of overlap-measure, as returned by OLE function. Must be in the data.

distrest

string; determines which data shall be plotted. Determines the first level of the input list and so it can either be 'kernel', 'distrest' or 'normalize'.

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.

ylim

vector of two numerics; determines the displayed window of the plot on the y axis. will be passed to plot() function. @param xlim vector of two numerics; determines the displayed window of the plot on the x axis. will be passed to plot() function.

Details

takes simulation data, as produced by changingn.randomday as input. Plots the results of the simulation for the Overlapmeasure given by olname and the estimation method (kernel/fitdistr/normalize) given by distrest. The truevalue for it has to be given and will be visible in the plot as horizontal line. this function will dettermine the values for xlim and ylim as the minimum and maximum value of the data on those axes. But they can be given as argument. if logx = TRUE the x-axis will be logarithmic. Will plot the means and give the Standrad deviation as error bar. If diff = TRUE it will plot hte difference to the mean of the pdf-based Overlap-measures.

Value

nothing.

Author(s)

Florian Berger <florian_berger@ymail.com>

See Also

scale


biometry/phenologicalOverlap documentation built on May 21, 2019, 2:31 a.m.