powered by
Calculates the surprisal (in bits) that a cumulative distribution function probability is at least that extreme.
sextreme(x, directional = FALSE)
A numeric vector of values between 0 and 1.
A flag specifying whether probabilities less than 0.5 should be returned as negative values.
A numeric vector of surprisal values.
Other residuals: pextreme()
pextreme()
# NOT RUN { sextreme(seq(0.1, 0.9, by = 0.1)) sextreme(seq(0.1, 0.9, by = 0.1), directional = TRUE) # }
Run the code above in your browser using DataLab