powered by
A conventional approach to handle 0 in log transformation is to simply add 1 to all data, log_1(x) = log(x+1). Also see ash.
log_1(x) = log(x+1)
ash
log_1(x)
a numeric vector