R/zzz.R

.onAttach <- function (lib, pkg) {
	packageStartupMessage("Nonparametric Kernel Methods for Mixed Datatypes (version 0.60-17)\n[vignette(\"np_faq\",package=\"np\") provides answers to frequently asked questions]\n[vignette(\"np\",package=\"np\") an overview]\n[vignette(\"entropy_np\",package=\"np\") an overview of entropy-based methods]", domain = NULL,  appendLF = TRUE)
}

.onLoad <- function (lib, pkg) {
  if(is.null(options('np.messages')$np.messages))
    options(np.messages = TRUE)
  if(is.null(options('np.tree')$np.tree))
    options(np.tree = FALSE)
}

.onUnload <- function (lpath){
  library.dynam.unload("np", libpath=lpath) 
}

Try the np package in your browser

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

np documentation built on March 31, 2023, 9:41 p.m.