Skip to content
Prev 473 / 696 Next

[R-sig-dyn-mod] Qn about FME package

If I try

sensFun(gw_model,parms=pars,sensvar=c("h"))



I get

"Error in func(parms, ...) : argument "rain" is missing, with no default"

Probably because my model function needs more input parameters than the three I'm trying to evaluate..how do I pass only a subset to sensFun ?



If I try model fitting instead, passing the other parameters:
I get:

user  system elapsed

   0.02    0.00    0.02
hini      rf      sy

150.000   0.100   0.005

$hessian

     hini rf sy

hini    0  0  0

rf      0  0  0

sy      0  0  0



It has not found a new set of parameters.



-----Original Message-----
From: R-sig-dynamic-models [mailto:r-sig-dynamic-models-bounces at r-project.org] On Behalf Of Thomas Petzoldt
Sent: Wednesday, July 20, 2016 12:13 PM
To: Special Interest Group for Dynamic Simulation Models in R
Subject: Re: [R-sig-dyn-mod] Qn about FME package



I guess the error may be in:



Sfun=sensFun(gwcost,parms=pars,sensvar=c("h"))



See example of ?sensFun, where func is a wrapper around the model that returns the modelled (i.e. dependent or state) variables. In the statement above, it was called with a cost function.





Thomas P.











Am 20.07.2016 um 18:02 schrieb Vishal Mehta:
_______________________________________________

R-sig-dynamic-models mailing list

R-sig-dynamic-models at r-project.org<mailto:R-sig-dynamic-models at r-project.org>

https://stat.ethz.ch/mailman/listinfo/r-sig-dynamic-models