Displaying 2 results from an estimated 2 matches for "labkey".
2009 Sep 10
2
tranform a table?
...is there a better way to approach it than the
code below? is there a more general term for the sort of transformation i'm
trying to make that might help guide my searching?
i realize i need to look into better methods of outputting HTML tables (like
r2html).
here's the basic idea. 'labkey.data' is the data frame produced by my SQL
query:
D<-labkey.data
H<-colnames(D)
T<-t(D)
L<-length(D$id)
output <- ""
for(i in 1:L) {
R<-my.row <- D[i, ]
R<-t(R)
Len<-length(R)
output <- paste(output, "<table border=0>")
for(j in 1:Len)...
2009 Sep 11
3
For sending my R package as part of R-project
...is there a better way to approach it than the
code below? is there a more general term for the sort of transformation i'm
trying to make that might help guide my searching?
i realize i need to look into better methods of outputting HTML tables (like
r2html).
here's the basic idea. 'labkey.data' is the data frame produced by my SQL
query:
D<-labkey.data
H<-colnames(D)
T<-t(D)
L<-length(D$id)
output <- ""
for(i in 1:L) {
R<-my.row <- D[i, ]
R<-t(R)
Len<-length(R)
output <- paste(output, "<table border=0>")
for(j in 1:Len)...