[R] Is there a model like that in R?

2007-09-28 Thread Manuel Ramon
Hi to everyone, I am starting to work with a model that is not familiar to me. The model would be like that: y = . - a*max(Q(i) - Q(0), 0) + . where Q(i) is the accumulated effect of a variable at time i and Q(0) a threshold above it there is effect on y. The value of Q(i) could b

Re: [R] Is there a model like that in R?

2007-09-28 Thread Gustaf Rydevik
On 9/28/07, Manuel Ramon <[EMAIL PROTECTED]> wrote: > Hi to everyone, > > > > I am starting to work with a model that is not familiar to me. > > The model would be like that: > > > >y = . - a*max(Q(i) - Q(0), 0) + . > > > > where Q(i) is the accumulated effect of a variable at time i and Q(0) a

Re: [R] Is there a model like that in R?

2007-10-01 Thread Manuel Ramon
accumulated. -Original Message- From: Gustaf Rydevik [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 11:13 AM To: Manuel Ramon Cc: r-help@r-project.org Subject: Re: [R] Is there a model like that in R? On 9/28/07, Manuel Ramon <[EMAIL PROTECTED]> wrote: