[rkward-cvs] SF.net SVN: rkward: [2025] trunk/rkward/rkward/plugins/analysis/crosstab. php

tfry at users.sourceforge.net tfry at users.sourceforge.net
Fri Oct 5 13:43:22 UTC 2007


Revision: 2025
          http://rkward.svn.sourceforge.net/rkward/?rev=2025&view=rev
Author:   tfry
Date:     2007-10-05 06:43:21 -0700 (Fri, 05 Oct 2007)

Log Message:
-----------
Previous version would not print the levels of the independent var.
This one does not print nicely, but at least correctly

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/analysis/crosstab.php

Modified: trunk/rkward/rkward/plugins/analysis/crosstab.php
===================================================================
--- trunk/rkward/rkward/plugins/analysis/crosstab.php	2007-10-05 13:32:09 UTC (rev 2024)
+++ trunk/rkward/rkward/plugins/analysis/crosstab.php	2007-10-05 13:43:21 UTC (rev 2025)
@@ -1,8 +1,5 @@
 <?
 function preprocess () {
-?>
-require(xtable)
-<?
 }
 	
 function calculate () {
@@ -47,7 +44,7 @@
 	if ($final) { ?>
 for (i in 1:length (results)) {
 	rk.header ("Crosstabs (n to 1)", parameters=list ("Dependent", descriptions[[i]][['Dependent']], "Independent", descriptions[[i]][['Independent']]))
-	rk.results (xtable (cbind (results[[i]]), digits=0))
+	rk.print (results[[i]])
 <?		if (getRK_val ("chisq") == "TRUE") { ?>
 
 	rk.header ("Pearson's Chi Square Test for Crosstabs", list ("Dependent", descriptions[[i]][['Dependent']], "Independent", descriptions[[i]][['Independent']], "Method", chisquares[[i]][["method"]]))


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