| rotorVerify {centrifugeR} | R Documentation |
Verify Centrifuge Balance
Description
rotorVerify checks whether the rotor is balanced given the positions
of tubes of equal mass.
Usage
rotorVerify(n, pos)
Arguments
n |
an integer, the number of rotor buckets. |
pos |
an integer vector, the positions of tubes. |
Details
The number of rotor buckets n ranges from 4 to
48. The positions of tubes pos ranges from 1 to n.
Value
rotorVerify returns 1 if the rotor is balanced and
0 if the rotor is unbalanced.
References
Johnsson M. Balancing a centrifuge. R-bloggers. 2016. Available from: https://www.r-bloggers.com/2016/06/balancing-a-centrifuge/.
See Also
rotorCheck for checking centrifuge rotors.
Examples
rotorVerify(30, c(10, 20, 30))
rotorVerify(30, c(1, 11, 21, 4, 28))
[Package centrifugeR version 0.1.7 Index]