simpleRateFit: Fit the simple learning rate model to reach deviations.

View source: R/simpleLearningRates.R

simpleRateFitR Documentation

Fit the simple learning rate model to reach deviations.

Description

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

Usage

simpleRateFit(schedule, reaches, gridpoints = 10, gridfits = 4)

Arguments

schedule

A vector of length N with the perturbation schedule.

reaches

A vector of length N with reach deviation data.

Details

?

Value

A named numeric vector with the optimal parameter that fits a simple rate model to the data as best as possible, with these elements: - LR: the learning rate

Examples

# write example!

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