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
10
11
## Not run: 
library(palmerpenguins)
data(penguins)
bill_data = na.omit(penguins[,3:4])
hv = hypervolume(bill_data)

# 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)

hypervolume documentation built on Nov. 12, 2021, 5:07 p.m.