generate.site.tsd | R Documentation |
Will also set the patients per unit time.
generate.site.tsd( this.site.dt, n.sampling.period, outcome.col.name, sampling.period.out.start, sampling.period.out.length, values = 0:89, smooth.func = smooth.daoh, site = NULL )
this.site.dt |
The data as a data.table, with time and outcome columns. |
n.sampling.period |
How many periods should the distribution be divided into? |
outcome.col.name |
Name of outcome column. |
sampling.period.out.start |
Time to start the timed sampling dist |
sampling.period.out.length |
Length of each period in timed sampling dist |
values |
Values that timed sampling dist can take. |
smooth.func |
How to smooth the distribution. |
site |
The SW.Site object to set by reference |
The timed sampling distribution (note however that it is set in the site by reference if site is not NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.