Markdown(Assignment 12)
Greetings Professor,
In this assignment #12, I learned how to create a Markdown file and how can I write my code in my created Markdown file by using HTML. I wrote the code by using dataset called "airquality" and I used different functions to that dataset.
At first I created a Markdown Document titled "Bangtan" as an example file. And then I created a file, loaded a dataset and used different functions to that dataset.
-> I used library() and datasets() to load my dataset:
```{r}
library(datasets)
data("airquality")
summary("airquality")
```
-> I used head command to get the rows of the dataset:
```{r}
head(airquality)
```
-> I used plot() to get the pairs of plots of the dataset:
```{r}
pairs(airquality)
```
->I used summary() to get the summary of the dataset:
```{r}
summary(airquality)
```
The most interesting part and useful part in this markdown file was the automatic generation of the output given in the code block.
Overall, I found using R Markdown is a great tool for everyone to write the formatted text easily and quickly, without having to learn HTML or other languages.
I posted my example file and created file with the HTML page in my GitHub Repository. And this is my HTML page link for my created file:
file:///C:/Users/chara/Documents/New%20Folder/mk_doc.html
This is my GitHub Repository link:
https://github.com/Jahnavi193/Assignment-12#assignment-12
Thank you.
Comments
Post a Comment