From rbali at ufmg.br  Fri Sep  5 17:05:13 2008
From: rbali at ufmg.br (rbali at ufmg.br)
Date: Fri,  5 Sep 2008 17:05:13 +0200 (CEST)
Subject: [Rd] Passing method to returns() /fSeries (PR#12713)
Message-ID: <20080905150513.391A5282C763@mail.pubhealth.ku.dk>

Full_Name: Robert Iquiapaza
Version: 2.7.2
OS: Vista
Submission from: (NULL) (69.127.35.170)


In the help Examples for returns(fSeries) it is said that you can pass the
method to compute ("continuous", "discrete", "compound", "simple") returns using
'type=' 
i.e.
# Discrete Returns:
   returns(MSFT, type = "discrete")
However when you use 'type' it does compute always the continuous returns, no
matter what method you select.
The only way to get the discrete returns is using 'method=' instead
i.e
# Discrete Returns:
   returns(MSFT, method = "discrete")
I think the help and pdf documentation need to be updated

Robert



[Rd] Passing method to returns() /fSeries (PR#12713)
rbali at ufmg.br