I would like to show a leading "+" in front of positive numbers in a column which is showing (numeric) values.
I already tried the following:
a) formatCurrency with a prefix "+". But this is not condtitional to positive numbers.
b) In my current solution I convert the numbers to characters "manually" first. But now I'd like to filter this column "numerically" (slider). This does not seem to be possible.
datatable(data.frame(change = sample(-5:5)), filter = "top")
How could I do that?