[R-SIG-Finance] fPortfolio error
Bastian Offermann
bastian2507hk at yahoo.co.uk
Tue Nov 4 01:51:19 CET 2008
hello,
have there been any changes recently to fPortfolio? i have taken the
code from the following presentation
http://www.rmetrics.org/Meielisalp2008/Presentations/Wuertz2.pdf
slide 10/31
Data <- as.timeSeries(data(LPP2005REC))[,1:6]
Spec <- portfolioSpec()
portfolioFrontier(data = Data , spec = Spec, constraints = Const)
it returns error message
Error in as.matrix(x at Data) :
no slot of name "Data" for this object of class "timeSeries"
can anybody help me out? are there any good tutorials on fPortfolio.
documentation seems to be a little rather technical. thanks.
regards
More information about the R-SIG-Finance
mailing list