View source: R/RcppExports.R
Calculates the account
calc_account(spot, ben, fee, barrier, penalty)
numeric vector with the VA reference fund values
numeric vector with the living benefit cash flow
numeric scalar with the fee
numeric scalar with the state-dependent barrier
numeric vector with the surrender penalty
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.