generate.timed.sampling.dist | R Documentation |
Generate a timed.sampling.dist object from an input distribution (with timings obvs)
generate.timed.sampling.dist( input.dt, outcome.col.name, n.sampling.period = 1, sampling.period.in.start = NULL, sampling.period.in.length = NULL, sampling.period.out.start = NULL, sampling.period.out.length = NULL, smooth.func = smooth.daoh, values = NULL )
input.dt |
The (data.table) input distribution to emulate with outcome and time columns |
outcome.col.name |
The name of the outcome column |
n.sampling.period |
How many sampling periods? |
sampling.period.in.start |
At what time should the sampling start? Should be integer. |
sampling.period.in.length |
How long should each time period be in the output? Should be integer. |
sampling.period.out.start |
How long should each period be in the output? Should be integer. |
smooth.func |
What function should be used for smoothing? Mainly made for DAOH, so that's default. Should be integer. |
values |
The value that can the sampling distribution can take (default min(input.dist):max(input.dist), which will fail if not integer input) |
A Timed.Sampling.Dist object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.