Learn R Programming

fPortfolio (version 280.74)

fPFOLIOSPEC-class: Specification of Portfolios

Description

Specifies portfolios.

Usage

## S3 method for class 'fPFOLIOSPEC':
show(object)

Arguments

object
an S4 object of class fPFOLIOSPEC.

Value

  • portfolioSpec returns an S4 object of class "fPFOLIOSPEC".

Details

Portfolio Specifcation Structure: The S4 class fPFOLIOSPEC specifies the portfolio. The slots are: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
## portfolioSpec -
   
   # Show Default Portfolio Specifications:
   Spec = portfolioSpec()
   
   # Change Risk Free Rate
   setRiskFreeRate(Spec) = 3
   Spec

Run the code above in your browser using DataLab