Sparklines in R for use in Latex table (using Knitr) -
i create sparkline using r , include in latex table (using knitr) .
i have found sparktable package have been unable work out how specify (based on own set of rules) data points classified "outliers".
effectively, want colour last data point (either red, blue, grey, or no colour) (based on custom rule). in addition, specify limits y-axis , image similar following,
any / suggestions appreciated
thanks, marie
i should have read manual in more detail - apologies. page 20 of version april 20, 2015
• if type==’allcolors’: character vector of length 6 (including na’s) containing colors. elements of color vector used as:
- first element: color minimal value
- second element: color maximal value
- third element: color last value
- fourth element:color filling
- fifth element: color line
- sixth element: color interquartil range
Comments
Post a Comment