example_model2 {fast} | R Documentation |
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, fig=FALSE)
p |
A vector of 4 parameters |
fig |
boolean: Plot the model(x) |
A vector of the weighted sum of parameters.
Dominik Reusser
#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)