## data -
Data = SMALLCAP.RET
Data = Data[, c("BKE", "GG", "GYMB", "KRON")]
Data
## portfolioFrontier -
Frontier = portfolioFrontier(Data)
## frontierPoints -
x = frontierPoints(Frontier, risk = "VaR", auto = FALSE)
x = frontierPoints(Frontier, risk = "CVaR", auto = FALSE)
Run the code above in your browser using DataLab