aggMax {babsim.hospital} | R Documentation |
Sane max for aggregation
Description
Sane max for aggregation
Usage
aggMax(x)
Arguments
x |
[ |
Details
R's max
returns ‘-Inf’ for empty lists.
This is undesirable for aggregation where we would rather have ‘NA’.
Value
Maximum value in ‘x’ or ‘NA’ if ‘x’ is empty.
[Package babsim.hospital version 11.8.8 Index]