Description Usage Arguments See Also
Coloring the columns specifying rows conditions
1 2 3 4 5 6 7 8 9 10 11 | colorCells_xlsx(
dataName,
fileName,
sheetName,
coloredCols,
coloredCondition = NULL,
cellColor,
fontSize = 11,
fontName = "Yu Gothic",
fontColor = "#000000"
)
|
dataName |
The name of a csv-file you want to edit with coloring. |
fileName |
The name of a Excel-file you want to save as. |
sheetName |
The name of a EXCEL-sheet you want to color. |
coloredCols |
The Columns colored with the specified color. |
coloredCondition |
The condition for rows. This argument must be a logical vector in which TRUE components indicate row indices colored and neither FALSE components dose. |
cellColor |
The color you want to color with |
fontSize |
Font-size. |
fontName |
Font-name. |
fontColor |
The color of fonts. |
Examples of this function can be found at https://multivariate-statistics.com/2021/05/14/r-programming-excel-cells-color/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.