Description Usage Arguments Value See Also Examples
This function is a transformation function that takes the log... It's literally just log(stimuli). It's appropriate for mapping (0, +inf):-> (-inf, inf). By design, it is robust to the inclusion of the occasional 0, which it maps to a very small value.
1 |
stimuli |
a vector of positive stimuli, between 0 and inf |
smallValue |
A value to set nominal 0's to, to avoid errors in plotting simulated data, or aberrant responses |
a vector containing "warped" stimuli
psiLinear, psiLogOdds, psiPrelec, psiLog, psiIdentityInverse
1 2 3 4 5 | psiLog(1:100)
1:100 %>% psiLog()
1:1000 %>% psiLog() %>%
vanillaBayes() %>%
psiLogInverse() # Implements Stevens Power Law
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.