[Eventstudies-discussion] Strategy on function interfaces

Ajay Shah ajayshah at mayin.org
Thu Feb 6 13:53:21 CET 2014


Vikram and I spoke about this and we felt:

We should have a main function amm() and then setup plot() print()
summary() methods as is the case with many R estimators. One big thing we
want out of AMM estimation is residuals; this would be done as residuals(m)
a la lm() and other estimators in R.

In similar fashion we should have m <- eventstudy() and then something like
plot(m, type=3).

This should help simplify the API of the package. Other than print() plot()
and summary() what would you suggest?

Does all the florid functionality of (say) EventUS, that we will eventually
build, fit this way of thinking?

-- 
Ajay Shah
ajayshah at mayin.org
http://www.mayin.org/ajayshah
http://ajayshahblog.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/eventstudies-discussion/attachments/20140206/c14360af/attachment.html>


More information about the Eventstudies-discussion mailing list