R/crmPack-package.R

Defines functions .onAttach

#####################################################################################
## Author: Daniel Sabanes Bove [sabanesd *a*t* roche *.* com]
## Project: Object-oriented implementation of CRM designs
##
## Time-stamp: <[crmPack-package.R] by DSB Mon 11/05/2015 17:47>
##
## Description:
## Package description.
##
## History:
## 29/01/2014   file creation
#####################################################################################

##' Object-oriented implementation of CRM designs
##'
##' @name crmPack-package
##' @aliases crmPack
##' @docType package
##' @title Object-oriented implementation of CRM designs
##' @author Daniel Sabanes Bove \email{daniel.sabanes_bove@@roche.com},
##' Wai Yin Yeung \email{winnie.yeung@@roche.com},
##' Giuseppe Palermo \email{giuseppe.palermo@@roche.com},
##' Thomas Jaki \email{jaki.thomas@@gmail.com}
## @useDynLib crmPack
##  cpp_glmBayesMfp cpp_bfgs cpp_optimize cpp_sampleGlm cpp_evalZdensity
##  cpp_coxfit
##' @importFrom graphics plot hist legend lines matlines matplot
##' @importFrom methods setClass setOldClass setGeneric setMethod representation
##' signature prototype initialize new is .valueClassTest as callNextMethod slot 
##' slotNames show
##' @importFrom stats binomial coef cov2cor gaussian glm lm median model.matrix
##' optim pgamma plogis pnorm qgamma qlogis qnorm quantile rbinom rgamma
##' rnorm runif uniroot var vcov
##' @importFrom utils data head tail
##' @keywords package
##' @references Sabanes Bove D, Yeung WY, Palermo G, Jaki T (2019). 
##' "Model-Based Dose Escalation Designs in R with crmPack."
##' Journal of Statistical Software, 89(10), 1-22. 
##' doi:10.18637/jss.v089.i10 (URL: http://doi.org/10.18637/jss.v089.i10).
{}

##' @keywords internal
.onAttach <- function(libname, pkgname)
{
    packageStartupMessage(
        "Type crmPackHelp() to open help browser\n",
        "Type crmPackExample() to open example\n")
}

## need to declare global variable / function
## names in order to avoid R CMD check notes:
globalVariables(c("log.betaZ",
                  "precW",
                  "pow",
                  "nObs",
                  "betaZ",
                  "x",
                  "betaW",
                  "xLevel",
                  "precW",
                  "z",
                  "nGrid",
                  "doseGrid",
                  "betaWintercept",
                  "delta",
                  "deltaStart",
                  "delta2",
                  "Effsamples",
                  "logit<-",
                  "rho0",
                  "alpha0",
                  "alpha1",
                  "inverse",
                  "priorCov",
                  "theta",
                  "comp0",
                  "w",
                  "DLTs",
                  "y",
                  "group",
                  "annotate",
                  "probSamples",
                  "prec",
                  "nu",
                  "samples",
                  "Type",
                  "patient",
                  "toxicity",
                  "ID",
                  "biomarker",
                  "traj",
                  "Statistic",
                  "perc",
                  "..density..",
                  "middle",
                  "lower",
                  "upper",
                  "middleBiomarker",
                  "lowerBiomarker",
                  "upperBiomarker",
                  "nObsshare",
                  "xshare",
                  "yshare", 
                  "thisProb.PL",
                  "thisMeanEff.PL",
                  "thisSize.PL",
                  "probit<-"))

Try the crmPack package in your browser

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

crmPack documentation built on Sept. 3, 2022, 1:05 a.m.