search for: bondanalyt

Displaying 1 result from an estimated 1 matches for "bondanalyt".

2015 Jul 11
1
User Input
...state (in decimal). ?After reading the R documentation and Hadley's book I think the way to do this is via a class but I can quite get my head around how to do it. ?A nominal model is: Analytics <- function(bondid = cusip, tradedate = trade.date, settledate = settle.date, price = 100.125){ BondAnalytics <- BondAnalytics(tradedate = tradedate, settledate = settledate, price = price) New("BondAnalytics ...) } ? So, price is an input to a constructor function which calls other functions to create the class object BondAnalytics. ?If price is an object with validity how do I make that part...