highlight2 {autoReg} | R Documentation |
Highlight a data.frame
Description
Highlight a data.frame
Usage
highlight2(x, i = NULL, j = NULL, style = NULL, include.colname = FALSE)
Arguments
x |
A data.frame |
i |
numeric rows to highlight |
j |
numeric columns to hightlight |
style |
A style function or NULL |
include.colname |
logical Whether or not include colname |
Value
a data.frame
Examples
head(mtcars) %>% highlight2(i=3) %>% printdf()
library(crayon)
head(mtcars) %>% highlight2(i=2) %>% highlight2(j=3,style=blue$bold) %>% printdf()
fit=lm(mpg~wt*hp,data=mtcars)
gaze(fit)
gaze(fit) %>% highlight2(j=4,include.colname=TRUE)
gaze(fit) %>% highlight2(i=2,j=4) %>% highlight2(i=2,j=2:3,style=blue$bold)
gaze(fit) %>% highlight2(i=2) %>% highlight2(j=3,style=blue$bold)
[Package autoReg version 0.3.3 Index]