validityScaledPeriod | R Documentation |
Check that adding a period in the scaled domain from a time vector (x1
), return a vector of time the range of conditions
time. Also check that x1
ans scaledPeriod
have the same length.
validityScaledPeriod( x1, scaledPeriod, model, conditions, param = list(), control = list(), interpolation = "constant" )
x1 |
|
scaledPeriod |
|
model |
|
conditions |
|
param |
|
control |
|
interpolation |
|
Return TRUE
if the condition is respected and an error otherwise.
conditions <- data.frame(time = seq(0,30,length.out = 10), temp = rnorm(10, 10, 5)) condModel <- interpolateCond(conditions, method = "linear") model <- "modelLinear" param = list(a = 1, T0 = 10) x1 = seq(1,10,length.out = 10) scaledPeriod = rep(10,10) validityScaledPeriod(x1, scaledPeriod, model = model, conditions = conditions, param = param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.