| drop_na_rows | R Documentation | 
NA in all specified variables.drop_na_rows drops rows that are NA in all specified variables.
drop_na_rows(population, variables)
| population | tbl with grouping (metadata) and observation variables. | 
| variables | character vector specifying observation variables. | 
population without rows that have NA in all specified
variables.
population <- tibble::tibble(
  Metadata_group = c(
    "control", "control", "control", "control",
    "experiment", "experiment", "experiment", "experiment"
  ),
  Metadata_batch = c("a", "a", "b", "b", "a", "a", "b", "b"),
  AreaShape_Area = c(10, 12, NA, 16, 8, 8, 7, 7),
  AreaShape_Length = c(2, 3, NA, NA, 4, 5, 1, 5)
)
variables <- c("AreaShape_Area", "AreaShape_Length")
drop_na_rows(population, variables)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.