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)
res <- portfolio.optim(x)
res$pw

the error I get is:

Error: could not find function "portfolio.optim"

Any thoughts on how this could be?


Thanks

James Splinter

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to