to_hv_list {hypervolume}R Documentation

Read hypervolumes from directory

Description

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

Usage

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

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

[Package hypervolume version 3.1.4 Index]