View source: R/order_indices.R
order_rows | R Documentation |
Order the indices of the rows of ds
for imputation.
order_rows(ds, order_option, M = is.na(ds))
ds |
A data frame |
order_option |
This option defines the ordering of the indices. Possible choices are "lowest_md_first", "highest_md_first", "increasing_index", "decreasing_index". |
M |
Missing data indicator matrix |
The ordered row indices of ds
as a vector.
ds <- data.frame(X = c(NA, NA, 3, 4), Y = c(1, NA, NA, 4)) order_rows(ds, "lowest_md_first")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.