Advertisement
Guest User

Untitled

a guest
Aug 14th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. ---
  2. title: "Teste"
  3. author: "TEste"
  4. date: "`r format(Sys.time(), '%d %B, %Y')`"
  5. output:
  6. rmdformats::material:
  7. highlight: kate
  8. self_contained: true
  9. thumbnails: true
  10. gallery: true
  11. fig_width: 11
  12. fig_height: 6
  13. df_print: kable
  14. ---
  15.  
  16.  
  17.  
  18.  
  19. ```{r inputs, echo=FALSE, results='hide', warning=FALSE, message=FALSE}
  20. library(tidyverse)
  21. library(kableExtra)
  22.  
  23. sinal<-TRUE
  24.  
  25. ```
  26.  
  27.  
  28. ```{r echo=FALSE, results='asis', eval= sinal}
  29. cat("# Teste 01")
  30. ```
  31.  
  32.  
  33.  
  34. ``` {r echo=FALSE, results = 'asis', eval = sinal }
  35.  
  36. cat("### Teste 02")
  37.  
  38.  
  39. plot(mtcars$mpg)
  40.  
  41.  
  42. ```
  43.  
  44.  
  45. ``` {r echo=FALSE, results = 'asis', eval = sinal }
  46.  
  47. cat("### Teste 02")
  48.  
  49.  
  50. plot(mtcars$mpg)
  51.  
  52.  
  53. ```
  54.  
  55.  
  56.  
  57. ``` {r echo=FALSE, results = 'asis', eval = sinal }
  58.  
  59. cat("### Teste 03")
  60.  
  61. mtcars %>% kable(row.names = TRUE,format.args = list(decimal.mark = '.', big.mark = ",")) %>%
  62. kable_styling(position = "center", full_width = FALSE,bootstrap_options = c("striped", "hover","condensed"), font_size = 14) %>% row_spec(0,bold = T, color = 'white',background = 'black')
  63.  
  64.  
  65. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement