Learn R Programming

nonmemica (version 0.9.1)

as.bootstrap: Create a Bootstrap Table

Description

Creates a bootstrap table.

Creates bootstrap from bootstrap.

Creates a bootstrap table from a PsN bootstrap results csv filepath. If x is not an existing file it is treated as a modelname and the results file is sought.

Usage

as.bootstrap(x, ...)

# S3 method for bootstrap as.bootstrap(x, ...)

# S3 method for character as.bootstrap(x, skip = 28, check.names = FALSE, lo = "5", hi = "95", verbose = TRUE, pattern = "bootstrap_results.csv", bootcsv = dir(modeldir(x, ...), pattern = pattern, recursive = TRUE, full.names = TRUE), ...)

Arguments

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

pattern

pattern to search for bootstrap file

bootcsv

path to bootstrap_results.csv or equivalent

Value

data.frame

data.frame

data.frame

Methods (by class)

  • bootstrap: bootstrap method

  • character: character method

See Also

as.bootstrap.character

Other as.bootstrap: as.bootstrap.numeric

Other as.bootstrap: as.bootstrap.numeric

Other as.bootstrap: as.bootstrap.numeric

Examples

Run this code
# NOT RUN {
library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% as.bootstrap
# }

Run the code above in your browser using DataLab