Learn R Programming

rapport (version 0.51)

rp.valid: Valid Cases

Description

Returns a number of valid (non-NA) values in a variable. This is a wrapper around rp.univar function with length function passed in fn argument, but with missing values previously removed. However, it's not possible to cancel NA omission with this function (doing so will yield error).

Usage

rp.valid(...)

Arguments

...
parameters to be passed to rp.univar function

Value

  • a numeric value with number of valid (non-NA) vector elements