March 2019
Beginner to intermediate
448 pages
13h 14m
English
In this example, we will load a dataset from a .csv file, and we will apply different formatting to each column. More interestingly, we will apply conditional formatting to certain columns. This dataset will contain several fields, such as the career, the age, the salary, and whether the person has been contacted.
After that, we can use the table function to calculate the counts using two variables. We then use the same formattable package for coloring the frequencies in this table.
library(expss)library(formattable)
Read now
Unlock full access