| To: | Jack Lewis <jlewis@imtsun.rsl.psw.fs.fed.us> |
|---|---|
| Subject: | Re: [S] is there a cumouter() like function? |
| From: | Claude Nadeau <nadeauc@CIRANO.UMontreal.CA> |
| Date: | Tue, 25 Aug 1998 07:51:36 -0400 (EDT) |
| Cc: | Fei Chen <fchen@stern.nyu.edu>, s-news@wubios.wustl.edu |
| In-reply-to: | <35E1F572.2711D787@rsl.psw.fs.fed.us> |
| Sender: | owner-s-news@wubios.wustl.edu |
On Mon, 24 Aug 1998, Jack Lewis wrote: > Oops, what I meant in the example below was: > Given a sequence a[i], i=0,1,2,...,n, and some constant k, > with 0 < k < 1, compute the sequence > b[i] = k*b[i-1] + a[i], i=1,2,...,n > NOT > b[i]= k*a[i-1]+a[i] > Sorry, Jack > P.S. I know it can be done with apply() > How about filter(a,k,"rec") ? Cheers, Claude Nadeau ----------------------------------------------------------------------- This message was distributed by s-news@wubios.wustl.edu. To unsubscribe send e-mail to s-news-request@wubios.wustl.edu with the BODY of the message: unsubscribe s-news |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [S] Fw: difference between predict, Prof Brian D Ripley |
|---|---|
| Next by Date: | [S] Avoiding loops, Eva Cantoni |
| Previous by Thread: | Re: [S] is there a cumouter() like function?, Prof Brian D Ripley |
| Next by Thread: | [S] cmdscale with similarities?, Isabelle Piroth |
| Indexes: | [Date] [Thread] [Top] [All Lists] |