All, I have my tryCatch working on my function and rather than crashing I get the error message below. However, I would just like price must be entered as a character without the information to the right of the : Can this information be suppressed?
Thanks, Glenn <simpleError in MortgageCashFlow(bond.id = FNAR7401, original.bal = 1e+06, settlement.date = "08-18-2016", price = 100, PrepaymentAssumption = PrepaymentModel(bond.id = FNAR7401, TermStructure = TermStructure(rates.data = Curve, method = "dl"), MortgageRate = MtgRate(), ModelTune = ModelTune(MBS(MBS.id = "3138W5GK8")), Burnout = Burnout(MBS(MBS.id = "3138W5GK8")), PrepaymentAssumption = "MODEL")): price must be entered as a character> ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel