Description Usage Arguments Details Value Author(s) See Also Examples
This function provides a summary table with the following quantities:
no. correct trials (correct
), total number of trials
(total
), the
protocol (protocol
), probability of a correct answer
(pHat
), standard
error of pHat (se.pHat
), dprime (dprime
), and standard
error of dprime (se.dprime
).
1  dprime_table(correct, total, protocol, restrict.above.guess = TRUE)

correct 
a numeric vector of the number of correct answers; one element for each test. 
total 
a numeric vector of the total number of trials; one element for each test. 
protocol 
a character vector or factor naming the protocol used; one element
for each test. Currently the following protocols are supported:

restrict.above.guess 
controls if 
The vectors correct
, total
and protocol
have to
be of the same length.
a data.frame with columns:
correct 
numeric vector of no. correct. 
total 
numeric vector of no. trials. 
protocol 
character vector naming the protocols used. 
pHat 
Estimate of the probability of correct answers. 
se.pHat 
standard error of 
dprime 
estimate of dprime. 
se.dprime 
standard error of 
Rune Haubo B Christensen
dprime_compare
, dprime_test
,
posthoc.dprime_compare
.
1 2 3 4  n < rep(40, 4)
x < c(25, 25, 30, 35)
protocol < c("triangle", "duotrio", "threeAFC", "twoAFC")
dprime_table(x, n, protocol)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.