asymptoticDecayModel: Execute a simple model given parameters and a reach deviation...

View source: R/asymptoticDecayModel.R

asymptoticDecayModelR Documentation

Execute a simple model given parameters and a reach deviation schedule.

Description

This function is part of a set of functions to fit and evaluate an exponential decay model with asymptote.

Usage

asymptoticDecayModel(par, schedule)

Arguments

par

A named vector with the model parameter (see details).

schedule

A vector of length N with the perturbation schedule.

Details

The 'par' argument is a named numeric vector that should have the following element: - lambda: learning rate - N0: asymptote

The schedule usually consists of a sequence of ones. It will be multiplied by the asymptote.

Value

A data frame with one column: 'output', and N rows, so that each row has the output of the modeled process on each trials.

Examples

?

thartbm/SMCL documentation built on Oct. 23, 2022, 5:17 a.m.