make_confint: Estimate confidence intervals for contrasts from...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/make_confint.R

Description

Input is the name of the glht object and a list containing it. This choice reflects how the function is usually used in the workflow.

Usage

1
2
3
4
5
6
7
8
9
make_confint(
  glht_obj_name,
  glht_obj_list,
  conf_level = 0.95,
  adjustment_method = c("single-step", "Shaffer", "Westfall", "free", "holm",
    "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"),
  extended_output = FALSE,
  round_estimate = TRUE
)

Arguments

glht_obj_name

character string with name of list component containing the glht object.

glht_obj_list

list containing a glht object.

conf_level

numeric. What level of confidence intervals should be returned? Passed directly to stats::confint().

adjustment_method

character string specifying a method for p-value adjustment. Setting to 'none' will return unadjusted p-values and confidence intervals. Setting to anything else (the default is 'single_step') will implement a particular p-value adjustment from multcomp. Although the p-value adjustment method varies for different options of this parameter, all the options other than 'none' will return the same FWER-adjusted confidence intervals implemented via setting "calpha = multcomp::adjusted_calpha()" in "multcomp::confint.glht()". Setting adjustment_method = 'none' will return confidence intervals with "calpha = multcomp::univariate_calpha()" in "multcomp:::confint.glht()".

extended_output

logical determining whether to compute extra output to return to a DIVOS summary table.

round_estimate

logical determining whether to pass two data.frames through maeve::round_numerics() before merging on a numeric column.

Value

a data.frame

Author(s)

Bill Forrest forrest@gene.com

See Also

data.frame

Examples

1
 cat('Currently no working examples for maeve:::make_confint().')

wfforrest/maeve documentation built on Jan. 1, 2021, 12:47 p.m.