View source: R/IPDFilecheck.R View source: R/IPDFilecheck.R
| return_subgroup_omitna | R Documentation | 
Function to return a subgroup when certain variable equals the given value while omitting those with NA
Function to return a subgroup when certain variable equals the given value while omitting those with NA
return_subgroup_omitna(data, variable, value)
return_subgroup_omitna(data, variable, value)
data | 
 data frame  | 
variable | 
 that corresponds to a column  | 
value | 
 a value that can be taken by the variable  | 
subgroup a data frame if success error if failure
subgroup a data frame if success error if failure
return_subgroup_omitna(data.frame(
  "age" = c(21, 15),
  "Name" = c("John", "Dora")
), "age", 10)
return_subgroup_omitna(data.frame(
  "age" = c(21, 15),
  "Name" = c("John", "Dora")
), "age", 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.