Description Usage Arguments Details Value Examples
Plot the parameters that have the greatest variance in the experiments of a model.
1 |
exp |
An object of class |
From the list of all parameters of the experiments that do vary (i.e. not null) the one (up to 3) with the biggest variance are ploted in 3D, 2D and 1D.
Returns a vector of the variables with highest variances.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | df <- data.frame(S0 = c(900, 800, 500), # this is a data frame of 3 lines
I0 = c(100, 200, 500),
R0 = 0,
beta = c(1.4, 1.5, 1.6),
gamma = .15,
S = c(1, 2, 3),
I = c(2, 4, 6),
R = c(10, 20, 30),
nbiter = 1000,
seed = 123456789)
exp0 <- as_experiment(df, parameters = c("S0", "I0", "R0", "beta", "gamma"),
obsrates = c("S", "I", "R"),
tmax = "nbiter", seed = "seed", experiment = "sir",
model =
system.file("models", "sir.gaml", package = "rama"))
plot_params(exp0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.