here will state the problem
describe the previous problem
some other text that I adore all the time
We can add an hypelink as seen : Google
for italic use italic text, for bold text use bold
text and for code in r use rcode plys
superscripts2^2 and subscripts2
This is an R Markdown document. Markdown is a simple formatting
syntax for authoring HTML, PDF, and MS Word documents. For more details
on using R Markdown see http://rmarkdown.rstudio.com. for image use
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:http://rmarkdown.rstudio.com
summary(cars)
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
You can also embed plots, for example:
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.
#{r uptownChunk, echo=FALSE, include=FALSE, eval=TRUE} #knitr::include_graphics("https:\\github.com/dilernia/STA418-518/blob/main/uptownFun#k.png?raw=true")
library(tidyverse)
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 |
library(flextable)
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 |