add_random_error adds a column of error flags (between 0 and 1)
to a data frame based on the
A data frame of the dataset.
A string of the name and type of the error in the form of
'error name_error type'. The error name should be one of the variable name
A vector of two numerical probablities, where the first one is the probablity of being 0 and the second one is the probablity of being 1.
A data frame of the
dataset with an additional column of binary encoded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.