colorexcel | R Documentation |
This function can be used to color outliers of excel data.
colorexcel(filename, threshold, variable, more = TRUE, sheetTh = 1, color=2)
filename |
the excel name.
threshold |
condition threshold for contiguous variable.
variable |
a variable name.
more |
satisfy condition with its values of variable over threhold or not.
sheetTh |
the order of excel sheet.
color |
emphasized color and default is red.
data(leaflife,package='smatr')
data2excel(dat = leaflife, filename = 'leaflife.xlsx', sheetname = 'Sheet1', create = TRUE)
colorexcel(filename = 'leaflife.xlsx', threshold=3, variable = 'longev', more = TRUE, sheetTh = 1,col = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.