NA_inspect: NA_inspect

Description Usage Arguments Value Author(s) Examples

Description

This function inspects your datasets (stored int a list) in order to evaluate if your data contains na values.

Usage

1

Arguments

dat

list with your datasets. It can be the same list generated by ReadData function.

Value

List with missing values information or message if your data doesn't have missing

Author(s)

Laura M Zingatetti

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
data('Ruminotypes')
Data<-Ruminotypes$`16_S`
#13 indicates the number of columns with missing values.
Columns<-sample(1:ncol(Data),13)
for (i in Columns){
n<-sample(1:30,1)
Data[sample(1:nrow(Data),n),i]<-NA
}

Data_1<-list("16_S"=Ruminotypes$`16_S`,"16_S_NA"=Data)
NA_inspect(Data_1)
}

Yuliaxis/LinkHD documentation built on April 9, 2020, 12:02 a.m.