s-news
[Top] [All Lists]

Re: a simple Friday question

To: "'Chris Moyer'" <cmoyer@fs.fed.us>, "snews" <s-news@lists.biostat.wustl.edu>
Subject: Re: a simple Friday question
From: "Liaw, Andy" <andy_liaw@merck.com>
Date: Fri, 24 Mar 2006 20:15:23 -0500
Something like this, perhaps:

> cumprod(rep(1.1, 5))
[1] 1.10000 1.21000 1.33100 1.46410 1.61051

Andy

From: Chris Moyer
> 
> 
> Hello-
> 
> It must be Friday... the answer to this simple question 
> completely escapes me. I need to create a sequence of numbers 
> in which each subsequent number is a percentage increase (say 
> 10 % ) of the previous number such as:
> 
> 1
> 1.1
> 1.21
> 1.33
> etc.
> 
> I'm using S-PLUS 6 on Win 2000.
> 
> Thanks in advance for any suggestions.
> 
> Chris Moyer
> AREMP Field Operations Supervisor
> Aquatic and Riparian Effectiveness Monitoring Program
> Phone: 541.750.7017
> Cell: 541.231.8934 (NEW)
> Fax: 541.750.7234
> 
> --------------------------------------------------------------------
> This message was distributed by 
> s-news@lists.biostat.wustl.edu.  To unsubscribe send e-mail 
> to s-news-request@lists.biostat.wustl.edu with the BODY of 
> the message:  unsubscribe s-news
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates (which may be known outside the 
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as 
Banyu) that may be confidential, proprietary copyrighted and/or legally 
privileged. It is intended solely for the use of the individual or entity named 
on this message.  If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then delete 
it from your system.
------------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>