search for: outtable

Displaying 4 results from an estimated 4 matches for "outtable".

2009 Nov 04
1
odfweave table styles
...dTableStyles>>= bigState <- which.max(tableData[, "Area"]) tableStyles$text[bigState,] <- "ArialHighlight" tableStyles$cell[bigState,] <- "highlight" tableStyles$text @ In my code I do: <<modtablestyles, echo=FALSE>>= bluesYes <- which(outTable[,2] >= 3 & outTable[,2] < 4) namel <- colnames(outTable) tstyles <- tableStyles(outTable, useRowNames = F, header = namel) tstyles$cell[bluesYes,2] <- "highlight" @ <<corrTable,echo=FALSE,results=xml>>= odfTable(outTable, styles = tstyles, useRowName...
2009 Sep 25
1
if else and loop for code in R
I am using if else and loop to sortout the data set that is the values less than o or more than 100 will be chosen.I could not get outTable with loop. Please help me to correct the code: I USED: # Read a_data <- read.table("D:/SNP/copy.sas", header=T, sep="\t") tr <- a_data$truck ca <- a_data$cars length <- nrow(a_data) outTable <- matrix(nrow=length,ncol=3) stat <- for (i in 1:length) { if (tr...
2012 Feb 15
1
Using R with Netezza
...s to work that exist in the package called "nza". Specifically I am trying to start with a simple function from this package, for example "nz.corr". I am typing the syntax as given in the manual as follows: nz.corr(intable="mytable", X="x", Y="y", outtable="anothertable") Here is my syntax: nz.corr(intable="JMF_TEST_LOOP2",x="PAGE_REFRESH_ID", y="PAGE_REFRESH_ID2",outtable="JMF_TEST_LOOP3") but I receive the following error: Error in nz.corr(intable = "JMF_TEST_LOOP2", x = "PAGE_REFRE...
2010 Jun 05
3
Wilcoxon test output as a table
Hi! I searched some time ago a way to get the Wilcoxon test results as a table more or less formatted. Nobody told me any solution and I found nothing on the Internet. Recently I came across this link ( http://myowelt.blogspot.com/2008/04/beautiful-correlation-tables-in-r.html), which helped me to find a solution. Here's the solution (I'm using R Commander): W <-