missing.data: Report missing values in a dataframe

View source: R/missing.data.R

missing.dataR Documentation

Report missing values in a dataframe

Description

This funciton reports column and rowwise missing data. It can also list the rownames for missing columns or the column names for missing rows.

Usage

missing.data(x, cols=NULL, rows=NULL)

Arguments

x

a dataframe

cols

print the specific rows corresponding to missing values in this column

rows

print the specific cols corresponding to missing values in this rowname

Value

a report on column versus row wise missing data

Examples


path <- system.file("extdata","primate-example.data.csv", package="mmodely")
data <- read.csv(path, row.names=1)

missing.data(data)



mmodely documentation built on May 31, 2023, 6:47 p.m.