ch.getLearningEffect: A function to assess the learning effect in data

ch.getLearningEffectR Documentation

A function to assess the learning effect in data

Description

This function attempts to fit a non-linear, decelerating function to the specified data.

Usage

ch.getLearningEffect(data, x, y, a = 2000, b = -1, c = 100, ...)

Arguments

data

the dataframe.

x

a string the specifies the column name in "data" that contains the x variable.

y

a string the specifies the column name in "data" that contains the y variable.

a

a numeric value for the startpoint specifying the multiplier. DEFAULT = 2000.

b

a numeric value for the startpoint specifying the multiplier in the exponential. DEFAULT = -1.

c

a numeric value for the startpoint specifying the addend in the exponential. DEFAULT = 100.

Value

a nls fit function.

Examples

ch.getLearningEffect (data=moralsData, trial, RT)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.