Description Usage Arguments Details Value Author(s) Examples
Copies result rows that have NA
s as index values and replaces the index value with all available values of that index.
1 | fillna(object, marginals)
|
object |
a |
marginals |
|
Runs dropall
before duplication to avoid unnecessary levels.
See also: http://en.opasnet.org/
Returns a data.frame
J. Tuomisto jouni.tuomisto@thl.fi
1 2 | a <- data.frame(A = c("a", "b", NA), B = c(1, 2, 3))
fillna(a, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.