| MissingDataProvider | R Documentation |
make missing data
charlatan::BareProvider -> MissingDataProvider
charlatan::BareProvider$bothify()charlatan::BareProvider$lexify()charlatan::BareProvider$numerify()charlatan::BareProvider$print()charlatan::BareProvider$random_digit()charlatan::BareProvider$random_digit_not_zero()charlatan::BareProvider$random_digit_not_zero_or_empty()charlatan::BareProvider$random_digit_or_empty()charlatan::BareProvider$random_element()charlatan::BareProvider$random_element_prob()charlatan::BareProvider$random_int()charlatan::BareProvider$random_letter()charlatan::BareProvider$randomize_nb_elements()make_missing()make missing data
MissingDataProvider$make_missing(x)
xa vector of characters, numeric, integers, logicals, etc
This method picks a random number (N) of slots in
the input vector x (up to length(x)). Then picks N random
positions and replaces them with NA matching the input class.
clone()The objects of this class are cloneable with this method.
MissingDataProvider$clone(deep = FALSE)
deepWhether to make a deep clone.
z <- MissingDataProvider$new()
z$make_missing(x = letters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.