On Wed, 30 Oct 2013, Katherine Gobin katherine_go...@yahoo.com writes:
Dear R forum,
Just want to know if there is any function / package in R which will
calculate Yield to Maturity in R for a given bond?
Regards
Katherine
require(sos)
findFn(yield to maturity)
--
Enrico Schumann
Dear R forum,
Just want to know if there is any function / package in R which will calculate
Yield to Maturity in R for a given bond?
Regards
Katherine
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https
Dear R helpers,
Yesterday I had raised following query which was addressed by Mr Ellison. The
query and the wonderful solution as provided by Mr. Ellison are as given below.
## PROBLEM
I am calculating the 'Yield to Maturity' for the Bond with following
characteristics.
Its a $1000
Hi Madhavi,
the error message means, that your function returns NA evaluated at the
lower limit of the search interval.
try f.ytm(0) to check that.
I think,
for (i in 1 : (tenure * no_comp - 1))
E = NULL
F = NULL
{
E[i] = cash_flow[i]/(1+ytm)^i
F = (sum(E) + (face_value +
Subject: Re: [R] Yield to Maturity using R
To: Madhavi Bhave madhavi_bh...@yahoo.com
Date: Tuesday, 2 February, 2010, 3:49 AM
Hi:
On Tue, Feb 2, 2010 at 3:01 AM, Madhavi Bhave madhavi_bh...@yahoo.com wrote:
Dear R helpers,
Yesterday I had raised following query which was addressed by Mr
5 matches
Mail list logo