njtierney / brolgar

BRowse Over Longitudinal Data Graphically and Analytically in R
http://brolgar.njtierney.com/
Other
108 stars 10 forks source link

Concept for testing: `add_key_feat` or `key_feat` #96

Open njtierney opened 4 years ago

njtierney commented 4 years ago

A wrapper around features(data, var, feat)

E.g.,

key_min

key_min(wages, xp)

Is equivalent to

features(wages, xp, list(min = min))
njtierney commented 3 years ago

The downside to this is that it kind of creates an explosion of functions, and I'm not sure I want to maintain all of them.