min_records {accumulate}R Documentation

Demand minimal number of records

Description

Demand minimal number of records

Usage

min_records(n)

Arguments

n

Minimal number of records in a group.

Value

a function that accepts a data frame and returns TRUE when the number of records is larger than or equal to n and otherwise FALSE.

See Also

Other helpers: frac_complete(), min_complete()

Examples


min_records(5)(women)
min_records(200)(women)


[Package accumulate version 0.9.3 Index]