R implementation of a portfolio optimization recipe from Kent Osband's book Iceberg Risk