Created
June 26, 2012 08:33
-
-
Save isomorphisms/2994420 to your computer and use it in GitHub Desktop.
the sporadic Janko group J1 in R #Rstats
This file contains 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
F11 <- function(x) { | |
#numbers come in as floats | |
as.integer(x) | |
#error checking | |
stopifnot( is.integer(x) ) | |
#struct | |
structure(x %% 11, class="F11") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment