R/Fdet_func_unif.R

Defines functions Fdet_func_unif

Documented in Fdet_func_unif

#' Determinant function to be used for finding constrained uniform samplings
#'
#' @param w allocation (can be exact or approximate)
#' @param beta use NULL (default to be NULL)
#' @param X use NULL (default to be NULL)
#' @param link use NULL (default to be NULL)
#'
#' @return product of all allocation
#' @export
#'
#' @examples
#' Fdet_func_unif(w=c(0.2,0.2,0.2,0.2,0.2))
#'
#'

Fdet_func_unif <- function(w, beta=NULL, X=NULL, link=NULL){
  return(prod(w))
}

Try the CDsampling package in your browser

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

CDsampling documentation built on Oct. 13, 2024, 9:07 a.m.