<div dir="ltr">Brian,<div><br></div><div style>I'm not entirely sure how to do that or if it is doable with the structure I have. If you have a minute and would be able to take a closer look to see if that is possible would be greatly appreciated. </div>
<div style><br></div><div style>Maybe another option would be to remove chart.Weights.EF.optimize.portfolio and change chart.Weights.EF.efficient.frontier to chart.Weights.efficient.frontier so chart.Weights is a generic function for optimize.portfolio.* and efficient.frontier objects. Although we would lose the ability to plot an efficient frontier directly from an optimize.portfolio, the chart.Weights function would be more consistent.</div>
<div style><br></div><div style>Please advise what you think is the best way to proceed.</div><div style><br></div><div style>Thanks,</div><div style>Ross</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Sep 3, 2013 at 10:26 AM, Brian G. Peterson <span dir="ltr"><<a href="mailto:brian@braverock.com" target="_blank">brian@braverock.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 09/03/2013 11:30 AM, Ross Bennett wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regarding the S3 generic methods. My intention with the chart.Weights.EF<br>
function was that it would be a generic method for optimize.portfolio<br>
and efficient.frontier objects. Since chart.Weights is already a generic<br>
method for optimize.portfolio objects, I don't think chart.Weights can<br>
be used a generic function to chart weights along the efficient<br>
frontier. I think I should just rename chart.Weights.EF to chart.WeightsEF.<br>
</blockquote>
<br></div>
Can the efficient.frontier opbjects be subclassed from the optimize.portfolio objects?  (I haven't looked closely at the structure there, so I don't know)<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Brian</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
GSoC-PortA mailing list<br>
<a href="mailto:GSoC-PortA@lists.r-forge.r-project.org" target="_blank">GSoC-PortA@lists.r-forge.r-<u></u>project.org</a><br>
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-porta" target="_blank">http://lists.r-forge.r-<u></u>project.org/cgi-bin/mailman/<u></u>listinfo/gsoc-porta</a><br>
</div></div></blockquote></div><br></div>