search for: calcamorts

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

2012 Jun 15
1
Divide all rows of a data frame by the first row.
Folks, I call the function calcAmorts like so: calcAmorts(prevAm, amort, myDates) Note that I use the package lubridate. The last line where do.call is called to first divide all the rows by the first row and then rbind gives the following error: Error in do.call("rbind", apply(amortsByYears, 1, "/", amortsBy...