fit_stochastic_by_cond: Fit Stochastic Model to Each Condition Individually

View source: R/fitting.R

fit_stochastic_by_condR Documentation

Fit Stochastic Model to Each Condition Individually

Description

This function applies the fit_stochastic_model function to each specified condition individually. It iteratively fits a stochastic version of the given model to each condition and aggregates the fitting results.

Usage

fit_stochastic_by_cond(mname, conds, lower, upper)

Arguments

mname

A string specifying the name of the stochastic model to be fitted to each condition.

conds

A list where each element represents a different condition with its respective data.

lower

Numeric vector of lower bounds for the model's parameters.

upper

Numeric vector of upper bounds for the model's parameters.

Value

A list of fitting results, where each element corresponds to a different condition. The fitting results are objects returned from the fit_stochastic_model function.


kachergis/XSLmodels documentation built on Feb. 25, 2024, 10:43 p.m.