R terminology might be different from that of mathematics and statistics. Please refer to Appendix Section 7 for explanation and reference of the terms and abbreviations used in this vignette.
Package bocImports packages
parallel shipped with R version 4.5.1 (2025-06-13), for parallel computing
Sys.info()[c('sysname', 'release', 'machine')]# sysname release machine # "Darwin" "24.6.0" "arm64"R.version# _ # platform aarch64-apple-darwin20 # arch aarch64 # os darwin20 # system aarch64, darwin20 # status # major 4 # minor 5.1 # year 2025 # month 06 # day 13 # svn rev 88306 # language R # version.string R version 4.5.1 (2025-06-13)# nickname Great Square Root
Experimental (and maybe unstable) features are released extremely frequently to Github. Active developers should use the Github version; suggestions and bug reports are welcome! Stable releases to CRAN are typically updated every 2 to 3 months, or when the authors have an upcoming manuscript in the peer-reviewing process.
For the function name clash between spatstat.explore::plot.roc() and pROC::plot.roc(), see detailed explanation in package maxEff vignette (RPubs, CRAN).
1.3 Acknowledgement
This work is supported by National Institutes of Health, U.S. Department of Health and Human Services grants
m0# Call:# coxph(formula = OS ~ age + creatinine, data = flchain2)# # coef exp(coef) se(coef) z p# age 0.031451 1.031950 0.004506 6.979 2.97e-12# creatinine 0.402371 1.495366 0.051557 7.804 5.98e-15# # Likelihood ratio test=84.07 on 2 df, p=< 2.2e-16# n= 673, number of events= 673 # (69 observations deleted due to missingness)
nobs(m0) # 673, due to missingness in `creatinine`# [1] 673
3add_dummies()
m1 = m0 |>add_dummies(formula =~ kappa + lambda)
m1# kappa :# function (newx = kappa) # {# ret <- (newx >= 2.455)# ret0 <- na.omit(ret)# if ((length(ret0) > 1L) && (all(ret0) || !any(ret0))) # warning("Dichotomized values are all-0 or all-1")# return(ret)# }# <environment: 0x123e60ac0># attr(,"class")# [1] "node1" "function"# # lambda :# function (newx = lambda) # {# ret <- (newx >= 2.215)# ret0 <- na.omit(ret)# if ((length(ret0) > 1L) && (all(ret0) || !any(ret0))) # warning("Dichotomized values are all-0 or all-1")# return(ret)# }# <environment: 0x123eb7f50># attr(,"class")# [1] "node1" "function"
Allaire, JJ, Yihui Xie, Christophe Dervieux, Jonathan McPherson, Javier Luraschi, Kevin Ushey, Aron Atkins, et al. 2024. rmarkdown: Dynamic Documents for r. https://github.com/rstudio/rmarkdown.
Angelo Canty, and B. D. Ripley. 2024. boot: Bootstrap R (S-Plus) Functions.
Baddeley, Adrian, and Rolf Turner. 2005. “spatstat: An R Package for Analyzing Spatial Point Patterns.”Journal of Statistical Software 12 (6): 1–42. https://doi.org/10.18637/jss.v012.i06.
Kuhn, Max. 2008. “Building Predictive Models in R Using the caret Package.”Journal of Statistical Software 28 (5): 1–26. https://doi.org/10.18637/jss.v028.i05.
Posit team. 2025. RStudio: Integrated Development Environment for r. Boston, MA: Posit Software, PBC. http://www.posit.co/.