[R] Yield-to-Maturity problem

Alexander Bergmüller AlexanderB.22 at hotmail.de
Thu Nov 16 15:25:16 CET 2017


Hello everybody,

I am not very advanced in my R skills so I really hope anybody of you can help me with this problem on which I have been working for hours.

I would like to write a function, which can guess the yield-to-maturity for any values: C, NV, r, s1, s2, and for a freely chosen tolerance (tol).

Additionaly, for freely chosen T; -> s1, s2, s3, ..., sT

I appreciate your help so much.
Greetings,

Alexandra Becker


	[[alternative HTML version deleted]]



More information about the R-help mailing list