Prof. Dr. Joachim Werner
2008-May-16 10:55 UTC
[R] parameters for a function in list format
Hi, can anybody help me concerning ther following problem: We do simulations with fARMA and use the function armaSim, which requires the input parameters in list format; this works perfect, however we would like to write the input for several different parameter lists (models) in a loop. I tried several versions and got no error indication, but judging from the results only the first specified group of list parameters is used and the further ones are ignored. Since the code has more than 3 lines, I will send it only on request. Thanks for help Joachim Werner
>>>> "PDJW" == "Prof. Dr. Joachim Werner" <profwerner at t-online.de> >>>> on Fri, 16 May 2008 12:55:32 +0200PDJW> Hi, PDJW> can anybody help me concerning ther following problem: PDJW> We do simulations with fARMA and use the function armaSim, PDJW> which PDJW> requires the input parameters in list format; this works PDJW> perfect, PDJW> however we would like to write the input for several PDJW> different PDJW> parameter lists (models) in a loop. I tried several versions PDJW> and got PDJW> no error indication, but judging from the results only PDJW> the first PDJW> specified group of list parameters is used and the further PDJW> ones are PDJW> ignored. PDJW> Since the code has more than 3 lines, I will send it only PDJW> on request. PDJW> Thanks for help PDJW> Joachim Werner Dear Joachim, You can send your question with your code directly to the Rmetrics core team developer mailing-list (rmetrics-core at r-project.org). regards, Yohan -- PhD student Swiss Federal Institute of Technology Zurich www.ethz.ch www.rmetrics.org NOTE: Rmetrics Workshop: http://www.rmetrics.org/meielisalp.htm June 29th - July 3rd Meielisalp, Lake Thune, Switzerland