Displaying 1 result from an estimated 1 matches for "testhtml".
2007 Dec 06
2
R2HTML how to pair graphic.png and table
...em:
how to pair a graphic.png and a table in R2HTML ?
The better showing of a mutiple analysis is sometimes to mate graphic and
table
Can anyone help me in this task ??
In the example below graphisc and table are subsequent and not pair..
directory=getwd()
myfile<-file.path(directory,"testHTML.html")
HTMLoutput=file.path(directory,"testHTML.html")
graf="graf.png"
png(file.path(directory,graf))
plot(c(1:12))
dev.off()
tab<-as.matrix(c(1:12))
HTMLInsertGraph(graf,tab,file=HTMLoutput,caption="Esempio di grafico")
browseURL(myfile)
Thanks in advance...