How do I make sure that the labels wrote $\phi_1 = 0.10$ instead of $\phi_1 = 0.1$?
CodePudding user response:
With format
and nsmall
:
...
facet_wrap(~ glue('phi[1]*" = {format(round(q, 2), nsmall = 2)}"')
...
How do I make sure that the labels wrote $\phi_1 = 0.10$ instead of $\phi_1 = 0.1$?
CodePudding user response:
With format
and nsmall
:
...
facet_wrap(~ glue('phi[1]*" = {format(round(q, 2), nsmall = 2)}"')
...