We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we run following codes, "Yes" and "No" cannot be correctly displayed.
I'm not sure if it is a bug or it is intentionally programmed like this.
It would be great if we are able to use "Yes" and "No" as data factor levels
tmp <- data.frame(v1 = factor(sample(c("Yes", "No"), 100, replace = TRUE)), v2 = factor(sample(c("Yes", "No"), 100, replace = TRUE))) tbl_summary(tmp) tmp2 <- data.frame(v1 = factor(sample(c("1", "2"), 100, replace = TRUE)), v2 = factor(sample(c("Y", "N"), 100, replace = TRUE))) tbl_summary(tmp2)
The text was updated successfully, but these errors were encountered:
Review the tbl_summary(type=) documentation for details on default printing. The default is to print yes/no as dichotomous variables, and all defaults can be updated. http://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html#type-argument
tbl_summary(type=)
Happy Coding!
Sorry, something went wrong.
No branches or pull requests
If we run following codes, "Yes" and "No" cannot be correctly displayed.
I'm not sure if it is a bug or it is intentionally programmed like this.
It would be great if we are able to use "Yes" and "No" as data factor levels
The text was updated successfully, but these errors were encountered: