Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR does the following:
addErrLogDV
description in parameter key (Update param key description #65)param-key
loadParamEstimates
define_boot_table
(removeshow_col_types = FALSE
).cleanup_cols
argument toformat
functions. Check for backwards compatibilityselect_cols
will still work, but we will use.cleanup_cols
in examples moving forward.format_param_table
format_boot_table
getBootPercentiles
: allow user to input.ci = 90, 95, "IQR"
orpercentiles = c(list of percentiles <1)
- if
.ci
provided or number of percentiles = 3, then names = lower_perc_X, value_perc_Y, upper_perc_Z- if number of percentiles > 3, then names = percX, etc.
backTrans-log
andbackTrans-logit
: updated to work with new "perc" namesformatValuesBoot
: update to work with new "perc" names.- if
.ci
provided or number of percentiles = 3, then calculate CI (upper- lower) and name columns "boot_perc_(upper-lower)" and "boot_value_Y"- if number of percentiles > 3, then keep names = percX, etc.
define_boot_table
: drop 95CI-specific code, usegetBootPercentiles
nonboot_estimates
argument indefine_boot_table
. Check for backwards compatibilitydefine_boot_table
: user will get warning if provide non-boot argumentmake_boot_pmtable
make_boot_pmtable
: new function to generate parameter table with non-boot estimates and bootstrap percentilesmake_pmtable
: drop description that works withformat_boot_table
output. It still does, but you would want to usemake_boot_pmtable
once it's availableFunctions to QC:
Misc:
param-key
loadParamEstimates
Non-boot:
format_param_table
Bootstrap-related: These all need more tests for different percentile cases
define_boot_table
getBootPercentiles
(internal, used indefine_boot_table
)backTrans-log
(internal, used indefine_boot_table
)backTrans-logit
(internal, used indefine_boot_table
)format_boot_table
formatBootValues
(internal, used informat_boot_table
)Make bootstrap table: Not finished
make_pmtable
make_boot_pmtable