group_fit_series: Given a list of cascades, this function fits each cascade...

View source: R/feature.R

group_fit_seriesR Documentation

Given a list of cascades, this function fits each cascade individually by calling [fit_series]. If the given cascades are in a named list, the names will be regarded as groups and the result will be reformatted as a list of group fits.

Description

Given a list of cascades, this function fits each cascade individually by calling [fit_series]. If the given cascades are in a named list, the names will be regarded as groups and the result will be reformatted as a list of group fits.

Usage

group_fit_series(data, cores = 1, ...)

Arguments

data

A (named) list of data.frame(s) where each data.frame is an event cascade with event tims and event magnitudes (optional). The list names (if present) will be used for grouping cascades with same names.

cores

The number of cores used for parallel fitting, defaults to 1 (non-parallel)

...

Check the available arguments of fit_series

Value

A list of model obejcts where each object fits on an invidual cascade in data


behavioral-ds/evently documentation built on Feb. 3, 2023, 9:42 a.m.