R/SuperLearnerNews.R

Defines functions SuperLearnerDocs SuperLearnerNews

Documented in SuperLearnerDocs SuperLearnerNews

SuperLearnerNews <- function(...) {
	RShowDoc("NEWS", package = "SuperLearner", ...)
}

SuperLearnerDocs <- function(what = 'SuperLearnerR.pdf', ...) {
  if(what == 'NEWS') {
    RShowDoc('NEWS', package = "SuperLearner", ...)
  } else {
    f <- system.file('doc', what, package = 'SuperLearner')
    if (.Platform$OS.type == 'windows')
     shell.exec(f)
     else system(paste(Sys.getenv('R_PDFVIEWER'), f, '&'))
     return(f)
  }
	
}

Try the SuperLearner package in your browser

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

SuperLearner documentation built on May 29, 2024, 5:25 a.m.