[rkward-cvs] SF.net SVN: rkward: [1075] trunk/rkward/rkward/plugins/distributions

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Jan 7 16:14:57 UTC 2007


Revision: 1075
          http://svn.sourceforge.net/rkward/?rev=1075&view=rev
Author:   tfry
Date:     2007-01-07 08:14:57 -0800 (Sun, 07 Jan 2007)

Log Message:
-----------
Plugin coding style

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/distributions/beta_probabilities.php
    trunk/rkward/rkward/plugins/distributions/beta_quantiles.php
    trunk/rkward/rkward/plugins/distributions/binomial_probabilities.php
    trunk/rkward/rkward/plugins/distributions/binomial_quantiles.php
    trunk/rkward/rkward/plugins/distributions/binomial_tail_probabilities.php
    trunk/rkward/rkward/plugins/distributions/cauchy_probabilities.php
    trunk/rkward/rkward/plugins/distributions/cauchy_quantiles.php
    trunk/rkward/rkward/plugins/distributions/chi_squared_probabilities.php
    trunk/rkward/rkward/plugins/distributions/chi_squared_quantiles.php

Modified: trunk/rkward/rkward/plugins/distributions/beta_probabilities.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/beta_probabilities.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/beta_probabilities.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $q;
 ?>
 rk.header ("Beta probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Shape 1", "<? getRK ("shape1"); ?>", "Shape 2", "<? getRK ("shape2"); ?>", "non-centrality parameter (ncp)", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Beta probability:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Beta probability")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/beta_quantiles.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/beta_quantiles.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/beta_quantiles.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -15,7 +15,7 @@
 	global $p;
 ?>
 rk.header ("Beta quantiles", list ("Vector of probabilities", "<? echo ($p); ?>", "Shape 1", "<? getRK ("shape1"); ?>", "Shape 2", "<? getRK ("shape2"); ?>", "non-centrality parameter (ncp)", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Beta quantiles:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Beta quantiles")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/binomial_probabilities.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/binomial_probabilities.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/binomial_probabilities.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -15,7 +15,7 @@
 	//produce the output
 ?>
 rk.header ("Binomial tail probability", list ("Variable value", "<? echo ($q); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>"));
-cat ("<h3>Binomial tail probability:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Binomial tail probability")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/binomial_quantiles.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/binomial_quantiles.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/binomial_quantiles.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -15,7 +15,7 @@
 	global $p;
 ?>
 rk.header ("Binomial quantile", list ("Vector of quantiles probabilities", "<? echo ($p); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Binomial quantiles:  ", rk.temp, "</h3>")<?
+rk.results (rk.temp, titles="Binomial quantiles")
 }
 
 function cleanup () {

Modified: trunk/rkward/rkward/plugins/distributions/binomial_tail_probabilities.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/binomial_tail_probabilities.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/binomial_tail_probabilities.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $q;
 ?>
 rk.header ("Binomial tail probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Binomial tail probabilities:  ", rk.temp, "</h3>")<?
+rk.results (rk.temp, titles="Binomial tail probabilities")
 }
 
 function cleanup () {

Modified: trunk/rkward/rkward/plugins/distributions/cauchy_probabilities.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/cauchy_probabilities.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/cauchy_probabilities.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $q;
 ?>
 rk.header ("Cauchy probabilities", list ("Vector of quantiles", "<? echo ($q); ?>", "Location", "<? getRK ("location"); ?>", "Scale", "<? getRK ("scale"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"))
-cat ("<h3>Cauchy probabilities:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Cauchy probabilities")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/cauchy_quantiles.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/cauchy_quantiles.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/cauchy_quantiles.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $p;
 ?>
 rk.header ("Cauchy quantiles", list ("Vector of probabilities", "<? echo ($p); ?>", "Location", "<? getRK ("location"); ?>", "Scale", "<? getRK ("scale"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Cauchy quantiles:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Cauchy quantiles")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/chi_squared_probabilities.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/chi_squared_probabilities.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/chi_squared_probabilities.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $q;
 ?>
 rk.header ("Chi-squared probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Chi-squared probailities:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Chi-squared probailities")
 <?
 }
 

Modified: trunk/rkward/rkward/plugins/distributions/chi_squared_quantiles.php
===================================================================
--- trunk/rkward/rkward/plugins/distributions/chi_squared_quantiles.php	2007-01-07 16:11:06 UTC (rev 1074)
+++ trunk/rkward/rkward/plugins/distributions/chi_squared_quantiles.php	2007-01-07 16:14:57 UTC (rev 1075)
@@ -14,7 +14,7 @@
 	global $p;
 ?>
 rk.header ("Chi-squared quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Degrees of freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
-cat ("<h3>Chi-squared quantiles:  ", rk.temp, "</h3>")
+rk.results (rk.temp, titles="Chi-squared quantiles")
 <?
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list