bind_fit: Combine multiple gadget.fit objects

View source: R/g3_fit_combine.R

bind_fitR Documentation

Combine multiple gadget.fit objects

Description

This function combines multiple gadget.fit objects into a single fit object. An additional column 'id' is added to each element of the resulting list to identify the individual gadget.fits

Usage

bind_fit(fit_list)

Arguments

fit_list

A list of multiple gadget.fit objects.

Details

The 'id' column will be taken from names(fit_list). If fit_list has no names, the 'id' column will be taken from the positions, e.g., fit_list = list(a = fit1, b = fit2) will be produces id's of 'a' and 'b', whereas fit_list = list(fit1, fit2) will produce id's of '1' and '2'

Value

A gadget.fit object


gadget-framework/gadgetutils documentation built on June 13, 2025, 3:05 a.m.