2
function preprocess () {
5
function calculate () {
7
$p = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("p")) . ")";
9
rk.temp = log(qweibull (p = <? echo ($p); ?>, shape = <? getRK ("shape"); ?>, scale = <? getRK ("scale"); ?>, <? getRK ("tail"); ?>, <? getRK("logp"); ?>))
13
function printout () {
16
rk.header ("Gumbel quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Shape", "<? getRK ("shape"); ?>", "Scale", "<? getRK ("scale"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"))
17
cat ("<h3>Gumbel quantiles: ", rk.temp, "</h3>")