Closed fedenichetti closed 2 months ago
Dear @fedenichetti ,
The error message says that add_pvalue(pvalue_fun=)
argument must be a function, and you've passed a formula. There are some tidyverse functions that convert that formula notation to a function, but that does not occur here. Try this:
add_pvalue(pvalue_fun = function(.x) style_pvalue(.x, digits = 3))
FYI GitHub is primarily a space to report bugs and make feature requests. For assistance with the package in the future, it's best to post on stackoverflow.com. When you do post, please include a minimal reproducible example. https://reprex.tidyverse.org/
Many thanks and sorry for the inappropriate post. Best,
I would like to round the log rank p value to 3 decimals, but when running
How should I solve this? Thanks!