Displaying 1 result from an estimated 1 matches for "settargetreturn".
2011 Jul 10
1
Code Help
Am I missing a Package? I'm not sure why is won't read the functions. Any
help is much appreciated.
> PData = Data[,3:10]
> Spec = portfolioSpec()
Error: could not find function "portfolioSpec"
> setTargetReturn(Spec) = mean(colMeans(PData))
Error in setTargetReturn(Spec) = mean(colMeans(PData)) :
object 'Spec' not found
> Constraints = "LongOnly"
> efficientPortfolio(PData, Spec, Constraints)
Error: could not find function "efficientPortfolio"
> Frontier = portfolio...