Description Usage Arguments Value See Also Examples
This function is a transformation function that inverts the log... It's literally just exp(stimuli). It's appropriate for mapping (-inf, inf):-> (0, +inf)
1 | psiLogInverse(warpedStimuli, smallValue = 10^-30)
|
warpedStimuli |
a vector of stimuli, between -inf and inf |
smallValue |
values smaller than this will be treated as this, to avoid anomalies near 0 |
A vector containing unwarped stimuli
psiLinear, psiLogOdds, psiPrelec, psiLog, psiIdentityInverse
1 2 3 | psiLogInverse(psiLog(1:100)) # returns 1:100
psiLog(1:100) %>% psiLogInverse()
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.