CountCompCases: Count Complete Cases Return for each variable of a data frame...

View source: R/CountCompCases.R

CountCompCasesR Documentation

Count Complete Cases Return for each variable of a data frame the number of missing values and the complete cases to be expected if this variable would be omitted.

Description

Count Complete Cases

Return for each variable of a data frame the number of missing values and the complete cases to be expected if this variable would be omitted.

Usage

CountCompCases(x)

Arguments

x

a data.frame containg the data.

Value

A list with three elements. The first gives the number of rows, the second the number of complete cases for the whole data frame. The third element tab contains the data for the single variables.

Author(s)

Andri Signorell andri@signorell.net

See Also

PlotMiss, CompleteColumns, complete.cases, is.na, na.omit

Examples

                                                                    

CountCompCases(d.pizza)

                                             

AndriSignorell/DescTools documentation built on June 11, 2025, 10:41 p.m.