Re: [R] portfolio, portfolio.optim function not found

2011-09-14 Thread Jean-Christophe BOUËTTÉ
portfolio.optim {tseries} means this function is in the tseries package... 2011/9/14 James Splinter : > Hello, > > After installing and loading the package "portfolio", I tried to run the > example code provided, and it would not run. > > this is the link: > http://rss.acs.unt.edu/Rdoc/library/tse

[R] portfolio, portfolio.optim function not found

2011-09-14 Thread James Splinter
Hello, After installing and loading the package "portfolio", I tried to run the example code provided, and it would not run. this is the link: http://rss.acs.unt.edu/Rdoc/library/tseries/html/portfolio.optim.html this is the example code, as found at the link: x <- rnorm(1000) dim(x) <- c(500,2