R/zzz.R

Defines functions .onAttach

Documented in .onAttach

##' .onAttach function
##'
##' A function to print a welcome message on loading package  
##'
##' @param libname libname argument
##' @param pkgname pkgname argument
##' @return ...
##' @export

.onAttach <- function(libname, pkgname)
{
	packageStartupMessage("\n Welcome to 'spatsurv': Spatial Survival Analysis\n B. M. Taylor & B. S. Rowlingson.\n
Type 'spatsurvVignette()' to view the package vignette.\n
Type 'citation(\"spatsurv\")' to view the citation for this package.\n
Please see the spatsurv package NEWS file for latest additions, changes and bug fixes.", appendLF=T)
}

Try the spatsurv package in your browser

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

spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.