Learn R Programming

nonmemica (version 1.0.8)

as.bootstrap: Create a Bootstrap Table

Description

Creates a bootstrap table.

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 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), ... )

Value

data.frame

data.frame

Arguments

x

character

...

passed to read.csv

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

Methods (by class)

  • as.bootstrap(character): character method

See Also

as.bootstrap.character

Other as.bootstrap: as.bootstrap.bootstrap(), as.bootstrap.numeric()

Other as.bootstrap: as.bootstrap.bootstrap(), as.bootstrap.numeric()

Examples

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

Run the code above in your browser using DataLab