example_model2 {fast}R Documentation

A function to demonstrate FAST

Description

The model depends on 4 parameters. It produces a weighted sum of the 4 parameters and returns this sum. The weights depend on an additional parameter x=1:200.

Usage

example_model2(p, fig=FALSE)

Arguments

p A vector of 4 parameters
fig boolean: Plot the model(x)

Value

A vector of the weighted sum of parameters.

Author(s)

Dominik Reusser

See Also

fast, sensitivity_rep

Examples

#The model depends on 4 parameters
#
#It produces a weighted sum of the 4 parameters and returns this sum
#
#The weights depend on an additional parameter x=1:200 
example_model2(p=c(1,3,1,1),fig=TRUE)
example_model2(p=c(1,2,2,3),fig=TRUE)

[Package fast version 0.51 Index]