na_rm: Missing value processing

Description Usage Arguments Value Examples

View source: R/missing value processing.R

Description

Missing value processing

Usage

1
na_rm(data, na.all = F)

Arguments

na.all

Whether or not to remove at least one missing value

Value

Data without missing values

Examples

1
2
3
4
a<-c(NA,NA,NA,NA,1);b<-c(NA,NA,NA,1,2);c<-c(NA,NA,1,2,3);d<-c(NA,1,2,3,4)
(data<-data.frame(a,b,c,d))
na_rm(data)
na_rm(data,na.all=TRUE)

qkdrk777777/DUcj documentation built on May 16, 2019, 8:14 p.m.