twoRateModel | R Documentation |
This function is part of a set of functions to fit and evaluate the two-rate model of motor learning.
twoRateModel(par, schedule)
par |
A named vector with the four model parameters (see details). |
schedule |
A vector of length N with the perturbation schedule. |
The 'par' argument is a named numeric vector that should have the following elements: - Ls: the slow learning rate - Lf: the fast learning rate - Rs: the slow retention rate - Rf: the fast retention rate
A data frame with three columns: 'slow', 'fast' and 'total' and N rows, so that each row has the output of the slow and fast process on each trials as well as the total system output.
# write example...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.