condformat

From MaRDI portal
Software:27943



swMATH16071CRANcondformatMaRDI QIDQ27943

Conditional Formatting in Data Frames

Sergio Oller Moreno

Last update: 8 October 2023

Software version identifier: 0.10.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.1

Source code repository: https://github.com/cran/condformat

Copyright license: 3-clause BSD License, File License

Apply and visualize conditional formatting to data frames in R. It renders a data frame with cells formatted according to criteria defined by rules, using a tidy evaluation syntax. The table is printed either opening a web browser or within the 'RStudio' viewer if available. The conditional formatting rules allow to highlight cells matching a condition or add a gradient background to a given column. This package supports both 'HTML' and 'LaTeX' outputs in 'knitr' reports, and exporting to an 'xlsx' file.