to_hv_list: Read hypervolumes from directory

Description Usage Arguments Details Value Examples

View source: R/to_hv_list.R

Description

Takes a path to a directory containing only rds files and reads them into a HypervolumeList object.

Usage

1
to_hv_list(path)

Arguments

path

absolute or relative path to directory containing rds files

Details

Use to_hv_list on the output from hypervolume_resample when method = "bootstrap" to read bootstrapped hypervolumes into memory.

Value

HypervolumeList object

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(iris)
hv = hypervolume(iris[c(1,2)])

# Use detectCores to see how many cores are availible in current environment
path = hypervolume_resample("example_bootstrap", hv, method = "bootstrap", n = 50, cores = 12)
hvs = to_hv_list(path)

## End(Not run)

dc165/Hypervolume-Dev documentation built on Dec. 13, 2020, 6:02 p.m.