Description Usage Arguments Details Value Methods (by class) See Also Examples
Creates a bootstrap table.
Creates bootstrap from bootstrap.
Creates bootstrap from numeric.
Creates bootstrap from character.
Creates a bootstrap table from a PsN bootstrap results csv filepath.
Creates a bootstrap table from a modelname in Project Context.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | as.bootstrap(x, ...)
## S3 method for class 'bootstrap'
as.bootstrap(x, ...)
## S3 method for class 'numeric'
as.bootstrap(x, ...)
## S3 method for class 'character'
as.bootstrap(x, ...)
## S3 method for class 'filepath'
as.bootstrap(x, skip = 28, check.names = FALSE,
lo = "5", hi = "95", verbose = TRUE, ...)
## S3 method for class 'modelname'
as.bootstrap(x, project = if (is.null(opt)) getwd() else
opt, opt = getOption("project"), rundir = file.path(project, x),
pattern = "bootstrap_results.csv", bootcsv = dir(rundir, pattern =
pattern, recursive = TRUE, full.names = TRUE), ...)
|
x |
object of dispatch |
... |
arguments to methods |
skip |
number of lines to skip in bootstrap_results.csv |
check.names |
passed to bootstrap reader |
lo |
the PsN bootstrap lower confidence limit (%) |
hi |
the PsN bootstrap upper confidence limit (%) |
verbose |
display messages |
project |
path to model directories |
opt |
alternative specification of project |
rundir |
model specific run directory |
pattern |
pattern to search for bootstrap file |
bootcsv |
path to bootstrap_results.csv or equivalent |
Assumes project has been identified, model directory exists, and PsN bootstrap method has been run for the model. Scavenges for the last file matching pattern.
data.frame
data.frame
data.frame
data.frame
data.frame
data.frame
bootstrap
: bootstrap method
numeric
: numeric method
character
: character method
filepath
: filepath method
modelname
: modelname method
1 2 3 | library(magrittr)
options(project = system.file('project/model',package='partab'))
1001 %>% as.bootstrap
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.