search for: tailoredfrontierplot

Displaying 2 results from an estimated 2 matches for "tailoredfrontierplot".

2017 Dec 27
1
Error in dimnames in R
...t;, "minsumW[c(5:5,7:7,8:8,9:9)]=0.27","maxsumW[c(5:5,7:7,8:8,9:9)]=0.33", "maxsumW[c(1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,10:10)]=1") portfolioConstraints(data,spec,constraints) frontier<- portfolioFrontier(data,spec,constraints) print(frontier) tailoredFrontierPlot( frontier) After running the last command above I get the following message:* "Error in dimnames(x) <- dn : length of 'dimnames' [1] not equal to array extent"* <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_conte...
2011 Jan 25
0
Problems plotting the efficient frontier with fPortfolio
...package. I am using the following commands: Data=timeSeries(X[1,,]) lppSpec <- portfolioSpec() longFrontier <- portfolioFrontier(Data, lppSpec) plot(longFrontier) Selección: 1 Error en dimnames(x) <- dn : la longitud de 'dimnames' [1] no es igual a la extensión del arreglo > tailoredFrontierPlot(object = longFrontier, mText = "MV Portfolio - LongOnlyConstraints",risk = "Cov") Error en dimnames(x) <- dn : la longitud de 'dimnames' [1] no es igual a la extensión del arreglo and getting the error that appears. I also tried to do the same with the same data ch...