| synthetic | R Documentation |
Extract the synthetic data from a masque object
synthetic(m)
m |
A |
For a masque, a data.table (the synthetic table); for a
masque_set, a named list of synthetic tables.
recipe(), mask(), mask_set().
r <- propose_roles(iris)
r$role[r$col == "Sepal.Length"] <- "outcome"
m <- mask(iris, r, seed = 1)
head(synthetic(m))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.