New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: argument P = F/T for finalfit and fit2df #26
Comments
Thanks Jan.
Interested in your thoughts. |
Nice! |
I’ve never done it before which is why it isn’t documented |
Of course I had a look at https://finalfit.org/articles/all_tables_examples.html There is one other point which could be improved: I applied your trick mentioned above: ff <- df %>% summary_factorlist("out", c("a","b"), fit_id=TRUE) %>% But I think an argument column in funtion finalfit or finalfit.glm would be easy to implement. finalfit.glm = function(.data, dependent, explanatory, [...] summary.out = summary_factorlist(.data, dependent, explanatory, [...] , column=column, |
Hi, You can also use the helper function |
You are my hero, Thanks. |
epi-stats commentedOct 8, 2019
•
edited
Amazing package!
In some areas, it is getting more common to present confidence intervals without P-values.
Would be great to have an argument P which will omit the p-values if it is set to FALSE.
Currently, I use the following workaround:
fit.pois = df %>%
glmmulti("count", c("a","b"), family = poisson, offset=(log(df$pop))) %>%
fit2df(estimate_name = "Incidence risk ratio", digits =c(2,1,0))
fit.pois$
Incidence risk ratio
<- gsub(", p[=<]1", "", fit.pois$Incidence risk ratio
)All the best
Jan
P.S: another workaround would be to set confint_level = 0.95000001
The text was updated successfully, but these errors were encountered: