~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/plugins/analysis/irt/tests/eRm_waldtest.php

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-05-11 21:58:23 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090511215823-m2f3gehcvapwrzgp
Tags: 0.5.0d-0ubuntu1
* New upstream release (LP: #375213)
* Bump Standards-Version to 3.8.1
* Drop cmake, libphon-dev from build-deps
* Update maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?
 
2
function preprocess () {
 
3
  // we'll need the eRm package, so in case it's not loaded...
 
4
?>
 
5
  require(eRm)
 
6
<?}
 
7
 
 
8
function calculate () {
 
9
  // let's read all values into php variables for the sake of readable code
 
10
  $rad_splitcr    = getRK_val("rad_splitcr");
 
11
  $splitvector     = getRK_val("splitvector");
 
12
 
 
13
?>waldtest.res <- Waldtest(<? getRK("x");
 
14
                  // check if any advanced control options must be inserted
 
15
                  if($rad_splitcr == "mean") echo(", splitcr=\"mean\"") ;
 
16
                  if($rad_splitcr == "vector") echo(", splitcr=".$splitvector) ;
 
17
 ?>)
 
18
<?}
 
19
 
 
20
function printout () {
 
21
?>
 
22
rk.header ("Wald test (<? getRK("x"); ?>)")
 
23
rk.print (waldtest.res)
 
24
<?
 
25
}
 
26
?>
 
 
b'\\ No newline at end of file'