Hello, this is Narender Tumu.Here I am including a 1st level Header.
I am doing my In class activity and this is used for the second level header.
This was for the third level header.
This hyperlink can take you to Google home page https://www.google.com/
This one does the same job as well to take you to Google Home
Hello everyone, I am practicing on how to do the Text
formatting using RMarkdown. I can also textformat
my Rcode using Rcode. There are some other things that we
can do which are superscript2 and a
subscript2.
knitr::include_graphics("https://github.com/dilernia/STA418-518/blob/main/uptownFunk.png?raw=true")
library(tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4
## ✔ tibble 3.1.8 ✔ dplyr 1.0.10
## ✔ tidyr 1.2.0 ✔ stringr 1.4.1
## ✔ readr 2.1.2 ✔ forcats 0.5.2
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
mtcars %>% ggplot(aes(x = mpg, y = hp)) +geom_point()
xbar <- 2
se <- 1.3
The 95% confidence interval for the mean is (-0.548, 4.548)
my.table <- mtcars[1:5, 1:4]
colnames(my.table) <- c("MPG", "Cylinders",
"Displacement", "Horsepower")
knitr::kable(my.table, digits = c(0, 1, 0, 0, 0),
align = c('l', 'r', 'r', 'r', 'r'),
row.names = TRUE)
| MPG | Cylinders | Displacement | Horsepower | |
|---|---|---|---|---|
| Mazda RX4 | 21 | 6 | 160 | 110 |
| Mazda RX4 Wag | 21 | 6 | 160 | 110 |
| Datsun 710 | 23 | 4 | 108 | 93 |
| Hornet 4 Drive | 21 | 6 | 258 | 110 |
| Hornet Sportabout | 19 | 8 | 360 | 175 |
flextable::flextable(my.table, cwidth = 1.15)
MPG | Cylinders | Displacement | Horsepower |
21.0 | 6 | 160 | 110 |
21.0 | 6 | 160 | 110 |
22.8 | 4 | 108 | 93 |
21.4 | 6 | 258 | 110 |
18.7 | 8 | 360 | 175 |