rotor {centrifugeR}  R Documentation 
Balance Tubes Using HigherOrder Symmetrical Configurations
Description
rotor
returns the numbers of tubes that can and cannot be loaded
in a centrifuge rotor and optionally shows various ways to balance a certain
number of tubes.
Usage
rotor(n, k = NULL, seed = 1, elapse = 1)
Arguments
n 
an integer, the number of rotor holes. 
k 
an integer, the number of tubes (optional). 
seed 
an integer, the seed for random number generation. Setting a seed
ensures the reproducibility of the result. See 
elapse 
an integer, the constrained time in seconds for random sampling. 
Details
The number of rotor holes n
ranges from 4
to
48
.
Value
rotor
returns a list with two components:
check 
a list with three components:

load 
a list with three components:

References
Sivek G. On vanishing sums of distinct roots of unity. Integers.
2010;10(3):3658.
Peil O, Hauryliuk V. A new spin on spinning your
samples: balancing rotors in a nontrivial manner. arXiv preprint
arXiv:1004.3671. 2010 Apr 21.
See Also
rotorVerify
for verifying the balance of preexisting
tube configurations.
Examples
rotor(30, 7)