calculateResponse {pdmod}R Documentation

Calculate response from the estimate

Description

Given an estiamtes probability of reward beween 0 and 1, calculates a response rate (i.e. the measured response of the animal such as visits to the food delivery system)

Usage

  calculateResponse(k, rmax, est)

Arguments

k

Response rate parameter

rmax

Maximum response

est

Vector of estimates

Value

Vector of responses

Author(s)

Chloe Bracis

See Also

Constants, isTimedVector, verifyTimedVector

Examples

calculateResponse(0.8, 10, runif(20))

[Package pdmod version 1.0.1 Index]