This file contains the barebone structure of your final output. You can make as many aesthetic changes (e.g. colors, templates, CSS, etc.) to this file as you want. Please remove all the instructions from this file and write in a comprehensive manner. Show code only where required.
A few examples. You can find more about tabs in rmarkdown here
ggplot(mt,
aes(mpg)) +
geom_histogram()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Most cars have a mileage between 15 - 22 miles per gallon, and very few cars are very fuel-efficient.
ggplot(mt,
aes(disp)) +
geom_histogram()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Most cars have an engine volume in the range of 70 - 300 cubic inches.
We show the data in this tab.
ggplot(mt,
aes(mpg, disp)) +
geom_point()
Quick description.
mt %>%
group_by(cyl) %>%
summarize(mean_mpg = mean(mpg))
## # A tibble: 3 x 2
## cyl mean_mpg
## <dbl> <dbl>
## 1 4 26.7
## 2 6 19.7
## 3 8 15.1
Quick description.
mpg is the response variable in mtcars dataset. It is not normally distributed. We are transforming it using …. We consider all mileage values greater than ________ as outliers.
# some code goes here
# some code goes here
# some code goes here
library(modelsummary)
# your code goes here
Show your code. Check all assumptions.
Show your code in a single chunk.