Skip to content
Back to formatted view

Raw Message

Message-ID: <490F9C87.7080604@yahoo.co.uk>
Date: 2008-11-04T00:51:19Z
From: Bastian Offermann
Subject: fPortfolio error

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