Description Usage Arguments Value Author(s)
Generates missing entries in data.frame/matrix
1 2 |
data |
data.frame |
p |
Fraction of missing data in each column |
cols |
Which columns (name or index) to alter |
rowwise |
Should missing occur row-wise (either none or all selected columns are missing) |
nafun |
(Optional) function to be applied on data.frame before return (e.g. |
data.frame
Klaus K. Holst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.