[R] How to use termstrc functions?

David Winsemius dwinsemius at comcast.net
Fri Mar 20 14:39:30 CET 2009


Got code?

On Mar 20, 2009, at 8:15 AM, Chirantan Kundu wrote:
>
> I'm trying to use the package termstrc. However I cannot figure out
> how to invoke helper functions like create_cashflows_matrix &
> create_maturities_matrix. Even when I try to invoke those with the
> data supplied with the package (say, corpbonds), it throws error
> saying "Error in as.vector(x, mode) : invalid 'mode' argument". Can
> anybody provide some working example for these?
> I'm on Windows XP and using R-2.7.2 + termstrc 1.1.
>
>
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list