Learn R Programming

fPortfolio (version 4023.84)

portfolio-getSpec: Portfolio Specification Extractor Functions

Description

Extracts information from an object of class fPFOLIOSPEC.

Usage

# S3 method for fPFOLIOSPEC
getModel(object)
# S3 method for fPFOLIOSPEC
getType(object)
# S3 method for fPFOLIOSPEC
getOptimize(object)
# S3 method for fPFOLIOSPEC
getEstimator(object)
# S3 method for fPFOLIOSPEC
getTailRisk(object)
# S3 method for fPFOLIOSPEC
getParams(object)

# S3 method for fPFOLIOSPEC getPortfolio(object) # S3 method for fPFOLIOSPEC getWeights(object) # S3 method for fPFOLIOSPEC getTargetReturn(object) # S3 method for fPFOLIOSPEC getTargetRisk(object) # S3 method for fPFOLIOSPEC getAlpha(object) # S3 method for fPFOLIOSPEC getRiskFreeRate(object) # S3 method for fPFOLIOSPEC getNFrontierPoints(object) # S3 method for fPFOLIOSPEC getStatus(object)

# S3 method for fPFOLIOSPEC getOptim(object) # S3 method for fPFOLIOSPEC getSolver(object) # S3 method for fPFOLIOSPEC getObjective(object) # S3 method for fPFOLIOSPEC getOptions(object) # S3 method for fPFOLIOSPEC getControl(object) # S3 method for fPFOLIOSPEC getTrace(object)

# S3 method for fPFOLIOSPEC getMessages(object)

Arguments

object

an object of class fPFOLIOSPEC.

Details

getTypeExtracts portfolio type from specification,
getOptimizeExtracts what to optimize from specification,
getEstimatorExtracts type of covariance estimator,
getTailRiskExtracts list of tail dependency risk matrixes,
getParamsExtracts parameters from specification,
getWeightsExtracts weights from a portfolio object,
getTargetReturnExtracts target return from specification,
getTargetRiskExtracts target riks from specification,
getAlphaExtracts target VaR-alpha specification,
getRiskFreeRateExtracts risk free rate from specification,
getNFrontierPointsExtracts number of frontier points,
getStatusExtracts the status of optimization,
getSolverExtracts solver from specification,
getobjectiveExtracts name of objective function,
getTraceExtracts solver's trace flag.

References

Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.