Learn R Programming

AGHmatrix (version 2.0.0)

missingdata: Survying on missing data

Description

This function verify which rows in a pedigree data has missing parental or conflictuos data

Usage

missingdata(data, unk = 0)

Arguments

data

data name from a pedigree list

unk

unknown value of your data

Value

list with $conflict: rows of the data which are at least one parental name equal to the individual. $missing.sire: rows of the data which arie missing data sire (Parental 1) information. $missing.dire: same as above for dire (Parental 2). $summary.missing: summary of the missing data. 2 columns, 1st for the name of the parental listed, 2nd for the how many times appeared in the data.

Examples

Run this code
# NOT RUN {
data(ped.mrode)
missingdata(ped.mrode)

# }

Run the code above in your browser using DataLab