jwutil (version 1.2.3)

countNonNaCumulative: running totals of number of non-NA values in consecutive fields

Description

counts non-NA fields in first field, then progreses through fields, OR new field and saves running total for each field TODO: tests

Usage

countNonNaCumulative(d)

Arguments

d

data.frame

Value

vector of cumulative non-NA counts with names corresponding to the given data frame