Publications by Arvind Sharma

PPP_Thomas_visualisation

22.09.2023

1 Clear Environment Start with a clean slate. # Clear the workspace rm(list = ls()) # Clear all files from your environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525433 28.1 1166600 62.4 NA 669274 35.8 ## Vcells 965564 7.4 8388608 64.0 32768 1840487...

633 sym R (50413 sym/57 pcs) 4 img

Coercion_of_DataTypes

22.09.2023

1 Clear Environment Start with a clean slate. # Clear the workspace rm(list = ls()) # Clear all files from your environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525475 28.1 1166720 62.4 NA 669274 35.8 ## Vcells 965753 7.4 8388608 64.0 32768 1840487...

721 sym R (52763 sym/63 pcs) 4 img

MergingDataSets

23.09.2023

1 Clear Environment Start with a clean slate. # Clear the workspace rm(list = ls()) # Clear all files from your environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525373 28.1 1166428 62.3 NA 669274 35.8 ## Vcells 965811 7.4 8388608 64.0 32768 1840487...

1093 sym R (6681 sym/44 pcs)

skewness_kurtosis

14.09.2023

1 Set Up # clear environment rm(list = ls()) # Clear environment gc() # Clear unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 525423 28.1 1166567 62.4 NA 669282 35.8 ## Vcells 967201 7.4 8388608 64.0 32768 1840413 14.1 cat("\f") # Clear the console graphics.off()...

5277 sym R (5687 sym/47 pcs) 13 img

RMarkdown_TypingMathEquations

13.09.2023

Can replace ‘html_document’ with ‘pdf_document’ in the .Rmd (Rmarkdown) file above manually to generate the output in your preferred format. However, I would strongly suggest using HTML format initially as the setup is likely to reduce math symbol issues if you do not have Latex installed locally. Also, make sure to change the settings of t...

3103 sym 1 img

HW1

12.09.2023

1 Instructions Go to Kaggle.com (owned by Google). Create a free account. Sign up for the Titanic: Machine Learning through Disaster competition located here: https://www.kaggle.com/c/titanic/data?select=train.csv Download the train.csv data. Open the train.csv file in R. To do so, use something like mydata <- read.csv(‘D:/train.csv’) but repl...

6241 sym R (18655 sym/83 pcs) 3 img

Discussion2

12.09.2023

1 Discussion on Iris Dataset In OpenStats Chapter 1, Exercises, Problem 9, there is a reference to Fisher’s iris data. Discuss the solutions to this problem, and then conduct a descriptive analysis of the data which are conveniently available in R. To access the data in R, simply type “iris.” Investigate any additional R libraries that might ...

3388 sym R (11761 sym/68 pcs) 7 img

data_types

07.09.2023

1 Cross Section Data 1.1 Infidelity data Variables Description # install.packages("AER") library("AER") ## Loading required package: car ## Loading required package: carData ## Loading required package: lmtest ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objects are masked from 'package:base': ## ## as.Dat...

1547 sym R (12445 sym/52 pcs) 6 img

data_types_2

07.09.2023

1 R Inbuilt Data No need to install/load any package. datasets are already pre-installed. ?datasets() library(help = "datasets") ?swiss # give information on data set 'swiss' help(USArrests) # give information on data set 'USArrests' You will find some code that can be used to create graphs in the help files....

381 sym R (904 sym/14 pcs) 2 img

Homework1_moneyball_template

07.09.2023

Please note that option knitr::opts_knit$set(root.dir = “YOUR WORKING DIRECTORY”) is only required if your .Rmd file is in a different folder than you raw data, like in my case. Open up the .Rmd file and see your yourself below - Knitr Explanation You can modify it, or you can simply create a new .Rmd file on your machine and copy over the rele...

4900 sym R (28239 sym/66 pcs) 10 img