R/zzz.R

Defines functions .onLoad

## set default options for Superpower_options:
.onLoad <- function(libname, pkgname) {
  op <- options()
  op.Superpower <- list(
    Superpower.verbose = TRUE,
    Superpower.emm = FALSE,
    Superpower.emm_model = "multivariate",
    Superpower.contrast_type = "pairwise",
    Superpower.plot = TRUE,
    Superpower.alpha_level = .05,
    Superpower.correction = "none",
    Superpower.liberal_lambda = FALSE
  )
  toset <- !(names(op.Superpower) %in% names(op))
  if (any(toset)) options(op.Superpower[toset])
  

  
  invisible()
}

Try the Superpower package in your browser

Any scripts or data that you put into this service are public.

Superpower documentation built on May 17, 2022, 5:08 p.m.