Description Usage Arguments Examples
View source: R/MortgageCashFlow.R
This is a generic function used to construct the class object MortgageCashFlow. For this function to work properly the classes MBSDetails and PrepaymentAssumption. must be present and loaded into the local environment.
1 2 3 4 5 6 7 | MortgageCashFlow(
bond.id = "character",
original.bal = numeric(),
settlement.date = "character",
price = "character",
PrepaymentAssumption = "character"
)
|
bond.id |
A character string referencing the object MBSDetails. |
original.bal |
The original balance of the MBS pool. |
settlement.date |
The settlment date of the MBS trade. For example $102 is input as 102.00 not 1.02. |
price |
A numeric value the price traded. Price is input as a whole number. |
PrepaymentAssumption |
A character string referencing the class PrepaymentModel |
1 2 3 4 5 6 7 | ## Not run:
MortgageCashFlow(bond.id = "bondlabMBS4",
original.bal = 1000000000,
settlement.date = "01-13-2013",
price = 104.00,
PrepaymentAssumption = "Prepayment")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.