Learn R Programming

mmodely (version 0.2.5)

missing.data: 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)

Value

a report on column versus row wise missing data

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

Examples

Run this code

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

missing.data(data)


Run the code above in your browser using DataLab