Skip to content
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

Closed
jordansread opened this issue Jun 24, 2015 · 6 comments
Closed

create gsplot class #3

jordansread opened this issue Jun 24, 2015 · 6 comments

Comments

@jordansread
Copy link
Member

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 for points(gsplot,x,y,...)

Advantage of S4 is more explicit code and rigidity in structure, and supports multiple arg dispatch.

@jordansread
Copy link
Member Author

@jordansread
Copy link
Member Author

For completeness, R6 looks pretty sweet http://cran.r-project.org/web/packages/R6/vignettes/Introduction.html

@jordansread
Copy link
Member Author

my vote is S3

@ldecicco-USGS
Copy link
Member

S3

@ldecicco-USGS
Copy link
Member

Now the issue is to implement the gsplot S3 class.

@jiwalker-usgs
Copy link
Contributor

Calling this good, may need to make minor tweaks as things come up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants