Several commands to be used with xlsx package
xlsx_plot(wb, sheet, plotFunction, startRow = NULL, startCol = 1, width = 480, height = 480, ...)
wb | Workbook class object |
---|---|
sheet | Sheet class object |
plotFunction | Plot function to execute with return value plot |
startRow | integer for row to insert at |
startCol | integer for column to insert at |
width | Figure width |
height | Figure height |
... | other arguments to pass on to png() |
Function for adding plot to a excel sheet using xlsx package