-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create gsplot class #3
Comments
here is an example of |
For completeness, R6 looks pretty sweet http://cran.r-project.org/web/packages/R6/vignettes/Introduction.html |
my vote is |
S3 |
Now the issue is to implement the gsplot S3 class. |
Calling this good, may need to make minor tweaks as things come up. |
decision to make S3 or S4, then implement.
Advantage of S3 is more flexibility (and sloppiness), easier debugging, faster coding. Can do
points.gsplot(x,y,...)
to create the method forpoints(gsplot,x,y,...)
Advantage of S4 is more explicit code and rigidity in structure, and supports multiple arg dispatch.
The text was updated successfully, but these errors were encountered: