psiLogInverse: psiLogInverse

Description Usage Arguments Value See Also Examples

Description

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)

Usage

1
psiLogInverse(warpedStimuli, smallValue = 10^-30)

Arguments

warpedStimuli

a vector of stimuli, between -inf and inf

smallValue

values smaller than this will be treated as this, to avoid anomalies near 0

Value

A vector containing unwarped stimuli

See Also

psiLinear, psiLogOdds, psiPrelec, psiLog, psiIdentityInverse

Examples

1
2
3
psiLogInverse(psiLog(1:100)) # returns 1:100
psiLog(1:100) %>% psiLogInverse()
1:1000 %>% psiLog() %>% vanillaBayes() %>% psiLogInverse()  # Implements Stevens Power Law

dlandy/WarpedBayes documentation built on May 29, 2019, 2:49 p.m.