Description Usage Arguments Details Value Examples
View source: R/timePointGeneration.R
generate all possible time options from eligible time points and number of samples per time interval ( time zone )
1 | getAllTimeOptions(timeZones, fullTimePoints)
|
timeZones |
a data.frame containing information on the number of points to be chosen in each time zone. Each row is a time zone.
|
fullTimePoints |
a numeric vector containing all possible time points to be considered including time point zero and the last time point |
time point zero is never included in any time option and the last time point is always included. Note that the last
time point is not a member of any zone. The number of time points in every time options is therefore the total number of time
points specified in timeZone
plus 1 for the last time point.
SetOfTimePoints-class
1 2 3 4 5 6 7 8 9 | timeZonesEx <- getExampleTimeZones()
fullTimePointsEx <- seq( 0 , 21 , 1 )
print(timeZonesEx)
setOfTimePoints <- getAllTimeOptions( timeZones = timeZonesEx ,
fullTimePoints = fullTimePointsEx )
setOfTimePoints <- getAllTimeOptions(
timeZones = data.frame(startTime = 0 , endTime = 21 , nPointsPerZone = 1) ,
fullTimePoints = fullTimePointsEx
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.