Created
September 4, 2014 00:33
-
-
Save kevinushey/5124832399c95a28d515 to your computer and use it in GitHub Desktop.
Clobbering plot with your own S4 generic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setGeneric("plot", function(x, ...) { | |
standardGeneric("plot") | |
}) | |
setMethod("plot", list(x = "ANY"), function(x, ...) { | |
UseMethod("plot") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment