This is a test RMarkdown to help learn the basics of the tools for producing reports or summaries combining code, results and commentary
Note that this markdown document is in beta
cars <- cars %>% filter(speed<20)
as.tibble(cars)
## Warning: `as.tibble()` was deprecated in tibble 2.0.0.
## ℹ Please use `as_tibble()` instead.
## ℹ The signature and semantics have changed, see `?as_tibble`.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
## # A tibble: 38 × 2
## speed dist
## <dbl> <dbl>
## 1 4 2
## 2 4 10
## 3 7 4
## 4 7 22
## 5 8 16
## 6 9 10
## 7 10 18
## 8 10 26
## 9 10 34
## 10 11 17
## # ℹ 28 more rows
plot(cars)
speed <- cars$speed
plot(speed)
3. Repeat for the distance variable from the cars dataset
dist <- cars$dist
plot(dist)