Description Usage Arguments Value
Determine whether a rotor is balanced
1 | is_balanced(df, tolerance = 0.001)
|
df |
Data.frame with columns
|
Scalar boolean df <- calculate_positions(30) df$occupied <- FALSE dfc(1, 11, 14, 15, 21, 29, 30), "occupied" <- TRUE is_balanced(df) # TRUE df29, "occupied" <- TRUE is_balanced(df) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.