-
Notifications
You must be signed in to change notification settings - Fork 66
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
Multiple panderOptions #333
Comments
In summarytools, made the transition from the method used in pander to the one you suggest. If anyone wants to work on it, I think this would be a good basis. Note that it supports the "legacy" way of settings options, too. https://github.com/dcomtois/summarytools/blob/dev-current/R/st_options.R |
Sorry for the late reply, did not really have time to work on multiPanderOptions <- function(...) {
options <- list(...)
for (i in seq_along(options)) {
panderOptions(names(options)[i], options[[i]])
}
}
multiPanderOptions(digits = 5, decimal.mark = ',', 5) |
Is there a way to set multiple pander options in the same command? I feel it clutters the code to have 3+ lines of panderOptions commands.
The text was updated successfully, but these errors were encountered: