Hi room, 
Is this a bug in the fPortfolio pachage? 

The portfolioSpec function returns three slots :  model, portfolio,
solver .
Check using this simple example
Spec= portfolioSpec()
str(Spec) 

But in the construction of the portfolio constraints i.e.
portfolioConstraints, the spec is claimed to have 5  slots : call, model
,portfolio, title and description. 

Please check using 
? portfolioConstraints
And look at the third arguments.
		
A call made to any of the below functions produces erro r of the type  
" Error in UseMethod("getTitle") : no applicable method for "getTitle" "
.

Presumably, the tiltle claimed for the Spec is not available. 
Has anyone successfully used these functions? 
Thanks 

Mama 

portfolioFrontier(data, spec = portfolioSpec(), constraints = NULL, 
    title = NULL, description = NULL)

feasiblePortfolio(data, spec = portfolioSpec(), constraints = NULL)
cmlPortfolio(data, spec = portfolioSpec(), constraints = NULL)
tangencyPortfolio(data, spec = portfolioSpec(), constraints = NULL)
minvariancePortfolio(data, spec = portfolioSpec(), constraints = NULL)
efficientPortfolio(data, spec = portfolioSpec(), constraints = NULL)
-----
Mama Attiglah, PhD
Quantitative Research Analyst
Advanced Research Center 
State Street Bank
+44(0)20 7698 6290 (Direct Line)
+44 (0)207 004 2968 (Direct Fax)
Please visit our Web site at 
www.ssga.com


	[[alternative HTML version deleted]]

