def: def

Description Usage Arguments Value

Description

Default algorithm for fitting parameters of psychometric function. Version of algorithm with fixed gamma parameter. Gamma has to be specifed.

Usage

1
2
3
def(data, sigmoid, core, par = NULL, fn = NULL, gr = NULL, ...,
  method = c("Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", "Brent"),
  lower = -Inf, upper = Inf, control = list(), hessian = FALSE)

Arguments

data

Specifies the data set on which the function will be fitted. Data have to be formated in specified way - data.frame/tibble (yes, no, predictor columns).

sigmoid

determines the outer shape of the fuction

core

dermines scalling of predictor

...

specifies the parametres of optim function

gamma

sets the loves boundary of function

Value

vector of return values


LuchTiarna/PsyFuns documentation built on July 8, 2019, 12:28 a.m.