~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/plugins/distributions/uniform_quantiles.php

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2008-04-20 21:30:00 UTC
  • mfrom: (1.2.2 upstream) (3.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080420213000-fs4i8efmfc793bnn
new upstream release
closes: #475175
closes: #463348
closes: #475982

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        global $p;
7
7
        $p = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("p")) . ")";
8
8
?>
9
 
rk.temp = (qunif (p = <? echo ($p); ?>, min = <? getRK ("min"); ?>, max = <? getRK ("max"); ?>, <? getRK ("tail"); ?>, <? getRK("logp"); ?>))
 
9
result <- (qunif (p = <? echo ($p); ?>, min = <? getRK ("min"); ?>, max = <? getRK ("max"); ?>, <? getRK ("tail"); ?>, <? getRK("logp"); ?>))
10
10
<?
11
11
}
12
12
 
14
14
        global $p;
15
15
?>
16
16
rk.header ("Uniform quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Lower limits of the distribution", "<? getRK ("min"); ?>", "Upper limits of the distribution", "<? getRK ("max"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"))
17
 
cat ("<h3>Uniform quantiles:  ", rk.temp, "</h3>")
18
 
<?
19
 
}
20
 
 
21
 
function cleanup () {
22
 
?>
23
 
rm (rk.temp)
 
17
rk.results (result, titles="Uniform quantiles")
24
18
<?
25
19
}
26
20
?>