Posts

Showing posts from April, 2023

Final Project

 Greetings Professor, In this final project, I created a package named "myfinalproject" with different functions, documents and sub-documents by using simple and easy functions. These days, I am into music so, I created a "dataset" based on my music interest and used some functions to that dataset which I learned in my R Programming class. I used very simple functions in my package. ->As first step, I created a new package "myfinalproject" and did all my functions in sub-files created by using "use_r()" function. I created my sub-files called 'my_project.R', 'dataset_songs.R', 'simple_math.R'. Description of my package: Package: myfinalproject Type: Package Title: This package creates the functions of the numeric and charateric summary to the vector and created a dataset Version: 0.1.0.9000 Author: Jahnavi Maintainer: The package maintainer <jmandhadapu@usf.edu> Description: Using different functions to create a v...

Markdown(Assignment 12)

Image
 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...