getdataframe: converts simulation data to a data.frame

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/getdataframe.R

Description

converts simulation data to a data.frame

Usage

1
getdataframe(data, fitdistr, sd = T)

Arguments

data

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

fitdistr

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'.

sd

logical; If TRUE the function will give two columns for each datapoint, one with the means and one with the standard deviations of these means.

Details

This function needs simulation data as produced by changingn.daypattern as input and gives a dataframe of the results for the probability density function estimation method (namely 'normalize', 'kernel' and 'fitdistr'). If sd = TRUE it will give two columns for each datapoint, one with the means and one with the standard deviations of these means.

Value

a data.frame representing the input data, where the rows are the different measures and the columns are the datapoints given by the simulation data (for example stepsizes or different standard deviations).

Author(s)

Florian Berger <florian_berger@ymail.com>

See Also

scale

Examples

1
bla <-changingvar.beta(days=c(5,12), n = 500, repeatings = 2)

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