oneRateModel: Evaluate a one-rate model given parameters and a reach...

View source: R/twoRateModel.R

oneRateModelR Documentation

Evaluate a one-rate model given parameters and a reach deviation schedule.

Description

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

Usage

oneRateModel(par, schedule)

Arguments

par

A named vector with the two model parameters (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 elements: - L: the learning rate - R: the retention rate

Value

A data frame with one column, and N rows, so that each row has the output of the process on each trial as well as the total system output.

Examples

?

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