Skip to content
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

make_pmtable bootstrap tables #54

Open
graceannobrien opened this issue May 31, 2024 · 0 comments
Open

make_pmtable bootstrap tables #54

graceannobrien opened this issue May 31, 2024 · 0 comments
Assignees

Comments

@graceannobrien
Copy link
Collaborator

Current workflow:

fixed = bootParam %>% 
  select(-ci_95) %>% #remove for make_pmtable function- cannot have 2 CI columns 
  make_pmtable(.pmtype = "fixed") %>% 
  st_span("Final model", value) %>% 
  st_span("Non-parametric bootstrap", boot_value:`boot_95\\% CI`) %>% 
  st_rename("Median" = "boot_value",
            "95\\% CI" = `boot_95\\% CI`)

Update make_pmtable to:

  • detect if there's a boot_ci.. column OR have user specify they want bootstrap table
  • then do st_spans and st_rename etc.
  • it will still use the .pmtype argument in make_pmtable
@graceannobrien graceannobrien self-assigned this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant