R/RcppExports.R

Defines functions find_B0

Documented in find_B0

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' Calculate B0
#'
#' Calculates the B0 value for a given numeric vector of values; assuming they're appropriate values corresponding to glass fragment refractive indices.
#'
#' @param arr vector of refractive indices.
#'
#' @return A numeric corresponding to the maximum between-sum-of-squares estimate from the sample.
#' @export find_B0
#'
find_B0 <- function(arr) {
    .Call('_SK4FGA_find_B0', PACKAGE = 'SK4FGA', arr)
}

Try the SK4FGA package in your browser

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

SK4FGA documentation built on Feb. 16, 2023, 9:06 p.m.