Closed johanneswerner closed 8 months ago
This is a duplicate of #21
This is a side effect of using na.rm=TRUE
on the backend:
> min(c(NA), na.rm=TRUE)
[1] Inf
Warning message:
In min(c(NA), na.rm = TRUE) :
no non-missing arguments to min; returning Inf
Would you prefer that this creates an empty string? Or how would you like it represented? Currently your best bet is to post process the strings. But there's two places we could address it in Tplyr's process:
f_str()
handling of Inf similar to the NA handling in the empty
parameter, or just convert Inf to NA to handle identically. apply_conditional_formats()
to recognize Inf as a numeric value and handle the replacements similarly.
One of my treatment groups only has missing values. Why does the summary table show
Inf, -Inf
(and is there a possibility to transform this to something more readable)?As an example, I used the CO2 dataset and added a new row with NA for
conc
.And here is the Tplyr output