View source: R/utilities-parameter.R
scaleParameterValues | R Documentation |
Scale current values of parameters using a factor
scaleParameterValues(parameters, factor)
parameters |
A single or a list of |
factor |
A numeric value that will be used to scale all parameters |
getParameter()
and getAllParametersMatching()
to create objects of type Parameter
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
param <- getParameter("Organism|Liver|Volume", sim)
scaleParameterValues(param, 1)
params <- getAllParametersMatching("Organism|**|Volume", sim)
scaleParameterValues(params, 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.