wilsonfreitas / R-fixedincome

Fixed income tools for R
http://wilsonfreitas.github.io/R-fixedincome/
Other
51 stars 25 forks source link

fixed daycounts cannot coerce to term #11

Closed wilsonfreitas closed 2 years ago

wilsonfreitas commented 9 years ago

Which units to specify? None of defaults makes sense. days returns the same, months and years doesn't make sense. Maybe period or full or ???, be creative.

dc <- as.daycount('fixed/22')
as.term(dc, '10 days', units=???)