R/bage_confidential-constructors.R

Defines functions new_bage_confidential_rr3

## HAS_TESTS
#' Create New RR3 Confidentialization Procedure
#'
#' Confidentialization procedure assumes that outcome has been
#' randomly rounded to base 3.
#'
#' @returns Object of class 'bage_confidential_rr3'
#'
#' @noRd
new_bage_confidential_rr3 <- function() {
  ans <- list(nm = "rr3")
  class(ans) <- c("bage_confidential_rr3", "bage_confidential")
  ans
}

Try the bage package in your browser

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

bage documentation built on Nov. 5, 2025, 5:33 p.m.