Message-ID: <5DABB462-8661-4CA1-935D-E684F240E802@comcast.net>
Date: 2009-03-20T13:39:30Z
From: David Winsemius
Subject: How to use termstrc functions?
In-Reply-To: <fc408ad80903200515w378ca51fjfa154d564ac21b79@mail.gmail.com>
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