projects
/
epclust.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
First commit
[epclust.git]
/
pkg
/
tests
/
testthat
/
helper-common.R
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
# Shorthand: map 1->1, 2->2, 3->3, 4->1, ..., 149->2, 150->3, ... (if base==3)
2
I = function(i, base)
3
(i-1) %% base + 1