Description Usage Arguments Author(s) See Also Examples
imputeRowMin
imputes missing values in x
by replacing NA
s in each row
with a proportion of the minimal value for that row (i.e.
min_fraction * min(x[i, ])
).
1 | imputeRowMin(x, min_fraction = 1/2)
|
x |
|
min_fraction |
|
Johannes Rainer
imputeLCMD
package for more left censored imputation functions.
Other imputation functions: imputeRowMinRand
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(faahKO)
data("faahko")
xset <- group(faahko)
mat <- groupval(xset, value = "into")
mat_imp <- imputeRowMin(mat)
head(mat)
head(mat_imp)
## Replace with 1/8 of the row mimimum
head(imputeRowMin(mat, min_fraction = 1/8))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.