This video is about basics of R, from creating an object (vector) to importing tab-delimited and excel file where descriptive statistics are computed from. Descriptive statistics are generated using R. At the end of the video, the use of aggregate function is demonstrated.
The sample1.txt and sample1.xlsx file may be downloaded at https://drive.google.com/open?id=1rh5jBaWfldoA62eVyluxghZQ-jrUFdkJ. Begin with converting the variables (Gender, Chickenpox and Measles) to factors as demonstrated in the video. Sample1.RData may also be downloaded in case you can not import the .txt and .xlsx file formats.
Video Chapters:
0:00 Intro
0:22 Why choose R?
1:05 Steps in installing R
1:57 Arithmetic Operations in R
4:40 Creating an object (or vector)
9:10 Statistical functions in R
15:13 Importing a txt or xls file in R
20:28 Converting numerical variables to factors (with labels)
23:18 Performing statistical functions using real-life data
29:51 Using the aggregate() function
35:21 Saving workspace
36:12 Outro