portfolio.optim {tseries} means this function is in the tseries package...
2011/9/14 James Splinter <[email protected]>:
> 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]]
>
> ______________________________________________
> [email protected] 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.
>
______________________________________________
[email protected] 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.