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