powered by
Checks whether object inherits from DiscountFactor class
DiscountFactor
is.DiscountFactor(x)
an R object
TRUE if x inherits from the DiscountFactor class; otherwise FALSE
TRUE
x
FALSE
# NOT RUN { is.DiscountFactor(DiscountFactor(0.97, Sys.Date(), Sys.Date() + 30)) # }
Run the code above in your browser using DataLab