R/B1statistic.R

Defines functions B1

Documented in B1

#' @template test_stat
#' @templateVar name The \eqn{\sqrt{b_1}}  test statistic
#' @templateVar cite Cabilio1996
#' @templateVar formula to be added
#' @export
B1 <- function(X) {
  if (!is.numeric((X)) && !is.logical((X))) {
    warning("Argument is not numeric or logical: returning NA")
    return(NA)
  }
  B1_Cpp(X)
}

Try the symmetry package in your browser

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

symmetry documentation built on March 31, 2023, 7:30 p.m.