NArow: Find how many NA in a row if there are any

View source: R/NArow.R

NArowR Documentation

Find how many NA in a row if there are any

Description

Find how many NA in a row if there are any

Usage

NArow(data)

Arguments

data

A dataframe

Value

How many NA's in a row

Examples

data <- data.frame(points=c(3, 2, 4, 3, 4, 8),
assists=c(6, NA, 7, NA, 7, 9),
team=c('A', 'A', 'A', NA, 'C', 'C'))
explore(data)

WouterVerra/explorers documentation built on June 19, 2022, 3:56 p.m.