Nothing
#' @name ReversalPowerNormal
#' @examples
#' prpnorm(1, 1, 3, 4)
#' @export
prpnorm <- function(q, lambda = 1, mu = 0, sigma = 1, lower.tail = TRUE, log.p = FALSE){
p = 1 - (pnorm((-q+mu)/sigma)**lambda)
if (lower.tail == FALSE) {
p = 1 - p
}
if (log.p == TRUE) {
p = log(p)
}
return(p)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.