R/Scott.r

Defines functions Scott

Documented in Scott

# Scott.r
# written by JuG
# July 25 2019


#' Multivariate extension of Scott's bandwidth rule
#' @author matt.shotwell
#' @description Published by  <matt.shotwell@vanderbilt.edu> https://biostatmatt.com/archives/2745
#' @examples 
#' @param 
#' @details 
#'
#'
#' @return 
#' @export

Scott <- function(data){
  return(  t(chol(cov(data))) * nrow(data) ^ (-1/(ncol(data)+4)))
}
 
jgodet/flimDiagRam documentation built on Oct. 6, 2023, 12:34 a.m.