simpleRateModel: Evaluate a simple learning rate model given parameters and a...

View source: R/simpleLearningRates.R

simpleRateModelR Documentation

Evaluate a simple learning rate model given parameters and a reach deviation schedule.

Description

This function is part of a set of functions to fit and evaluate a simple learning rate model of motor learning.

Usage

simpleRateModel(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: - LR: the learning rate

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.