data(edhec)
# first do normal Beyond VaR calc
VaR.Beyond(edhec)
# now use modified Cornish-Fisher VaR calc to take non-normal distribution into account
VaR.Beyond(edhec,modified=TRUE)
Run the code above in your browser using DataLab