In broom::tidy(something) how to show more digits ?

Hi,

I have an object called emms.
I have done this:

How to show estimate with more precision digits like 5 ?

options(digits = 5)

Run that in your console, then re-run your model and tidy(emms) to see the change.

I have tried, it doesn't work.

The digits option controls the number of digits displayed for dataframes, but tidy() returns a tibble. You can control the number of digits displayed for tibbles with the pillar.sigfig option:

options(pillar.sigfig = 5)
tidy(emms)

Or you can just coerce your results to a dataframe:

as.data.frame(tidy(emms))
1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.