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