[R-sig-dyn-mod] cODE output

Andras Farkas motyoc@k@ @end|ng |rom y@hoo@com
Sun Jul 17 21:23:05 CEST 2022


Hello,


Had a question about cODE and Daniel Kachek helped with answer, here it is maybe other will benefit. I was specifically looking to incorporate the c equivalent of "yout" in the dynamic model generation and a quick example of that using cODE (credit to Daniel):  


in an example, we could define:


f=c(cpop="import-((((0.689*x1+3.66)*0.06)*exp(x1c))/x2)*cpop") 

outputs = c(ratio = "cpop/x2")


func = funC(f, outputs = outputs)


The output for odeC() will contain a column "ratio".

thanks

Andras 



More information about the R-sig-dynamic-models mailing list