Learn R Programming

DTwrappers2 (version 0.0.3)

mean.missing: Calculate the Proportion of NA Values

Description

This function calculates the proportion of NA values in a vector.

Usage

# S3 method for missing
mean(x, ...)

Value

A numeric value representing the proportion of NA values in the vector x.

Arguments

x

A vector.

...

Additional arguments.