coralSplitToBatches: coralSplitToBatches

View source: R/coralSplitToBatches.R

coralSplitToBatchesR Documentation

coralSplitToBatches

Description

Splits CORAL data objects that contain all rare species into smaller batches for distributed computation

Usage

coralSplitToBatches(Y, TrData, C.common.rare, batchN = 1)

Arguments

Y

community matrix of rare species

TrData

trait matrix (dataframe) for rare species

C.common.rare

phylogeny similarity matrix between common and rare species

batchN

target number of batches

Value

A named list of three elements Y, TrData and C.common.rare, each of which is a list of length batchN with splits of the corresponding input argument #'


hmsc-r/HMSC documentation built on March 5, 2025, 10:52 p.m.