to_hv_list: Read hypervolumes from directory

View source: R/to_hv_list.R

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

hypervolume documentation built on Nov. 16, 2022, 9:06 a.m.