dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
523 stars 79 forks source link

#ctable: default behavior of `round.digits` #114

Closed statzhero closed 3 years ago

statzhero commented 4 years ago

I was expecting the default for ctable to be

round.digits = st_options("round.digits")

and not as the following

round.digits = 1,

but perhaps that's more desired.

dcomtois commented 4 years ago

Hi, I had to work my memory here, but I think the decision was made out of concern for having tables too wide for a decimal that is in most cases not really needed. I think creating a separate ctable.round.digits global option would be preferable to using the default value of 2. Is it worth it though? I'm curious to know other ppl's thoughts on this so pls feel free to weigh in!

dcomtois commented 3 years ago

Next version will have a ctable.round.digits global option