calc_account: Calculates the account
Description
Calculates the account
Usage
calc_account(spot, ben, fee, barrier, penalty)
Arguments
spot
numeric
vector with the VA reference fund values
ben
numeric
vector with the living benefit cash flow
fee
numeric
scalar with the fee
barrier
numeric
scalar with the state-dependent barrier
penalty
numeric
vector with the surrender penalty