quickpsy_ is the standard evaluation SE function associated
to the non-standard evaluation NSE function quickpsy.
quickpsy_(d, x = "x", k = "k", n = "n", grouping, random, within, between,
xmin = NULL, xmax = NULL, log = FALSE, fun = "cum_normal_fun",
parini = NULL, guess = 0, lapses = 0, prob = NULL, thresholds = T,
logliks = FALSE, bootstrap = "parametric", B = 100, ci = 0.95,
optimization = "optim")k refers to the number of trials
in which a yes-type response was given. It corresponds to the name of the
variable indicating the total number of trials.grouping = .(variable_name1, variable_name2).random = .(variable_name1, variable_name2). In the current version
of quickpsy, the random variable has not special treatment. It does the
same as grouping.within = .(variable_name1, variable_name2). In the current version
of quickpsy, the within variable has not special treatment. It does the
same as grouping.between = .(variable_name1, variable_name2). In the current version
of quickpsy, the between variable has not special treatment. It does the
same as grouping.TRUE, the logarithm of the explanatory variable is used
to fit the curves (default is FALSE).cum_normal_fun, logistic_fun, weibull_fun)
or the name of a function introduced by the user
(default is cum_normal_fun).list(c(par1min, par1max), c(par2min, par2max)) to
constraint theTRUE, the guess rate is estimated as the i + 1 paramEter where
i corresponds to the number of parameters of fun. If, for
example, fun is a predefined shape TRUE, the lapse rate is estimated as the i + 1 parameter where
i corresponds to the number of parameters of fun plus one if
the guess rate is estimated. If, for examplguess + .5 * (1 - guess)).FALSE, thresholds are not calculated
(default is TRUE).TRUE, the loglikelihoods are calculated
(default is FALSE).'parametric' performs parametric bootstrap;
'nonparametric' performs non-parametric bootstrap;
'none' does not perform bootstrap (default is 'parametric').optim function. It can also be 'DE' which uses de function
DEoptim from the package DEoptim, which performs differential
evolution optimization. Bquickpsylibrary(MPDiR) # contains the Vernier data
fit <- quickpsy_(Vernier, 'Phaseshift', 'NumUpward', 'N',
grouping = c('Direction', 'WaveForm', 'TempFreq'), B = 20)
plotcurves(fit)Run the code above in your browser using DataLab