Description Usage Arguments Details Examples
alter_to_true_binary
takes a one dimensional vector that contains two
unique values and switches all of the values with either integer values 0 or
1, so that the resulting vector has a one-to-one correspondence with the
original.
1 | alter_to_true_binary(bin_chain, success)
|
bin_chain |
A one dimensional vector with two unique elements. |
success |
Denotes the data entry to be counted for run statistics. |
For this function to work properly, its argument should be checked first
using check_false_binary
, and only used in
alter_to_true_binary
if check_false_binary
returns TRUE.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.