checkExtension: Perform and cache model extension or load it from cache

Description Usage Arguments

View source: R/caching.R

Description

All parameters except 'fname' correspond to the ones in suggestExtension

Usage

1
2
3
4
5
6
7
8
9
checkExtension(
  fname,
  original_model,
  mc = 0,
  sample_range = c(10^(2:-1), 0, -10^(-1:2)),
  padjust_method = "bonferroni",
  parallel = TRUE,
  print = TRUE
)

Arguments

fname

Name for the saved file (without extension)

parallel

Kept for backward compatibility, won't be used

print

Provided for convenient copy-paste from suggestExtension lines, has no control here as the results will always be cached in a file.


MathurinD/knitHelpersSTASNet documentation built on March 26, 2021, 7:43 p.m.