
Explore the basics of R programming for buddies, from installing R and R Studio to data input, data management, datatypes, vectors, matrices, dataframes, and statistics like mean and linear regression.
Introduce big data and its volume, velocity, and variety, and how data storage evolved. Learn big data via R programming, with Hadoop as an alternative path.
Learn how R serves as a statistical and graphical oriented, open-source scripting language with platform independence, extensive graphics, easy data import export, line by line execution, and RStudio help.
Install R and R Studio across Windows, Ubuntu, and Mac by downloading the R GUI and R Studio; use sudo apt-get update and sudo apt-get install r-base on Ubuntu.
Explore the four windows of R Studio, learn to write scripts, run code, manage the workspace and history, and use plots, packages, and help resources effectively.
Explore the basics of r, including packages and objects. Use the console and editor, install and load packages, and master print, ls, help, rm, q, and local and global assignments.
Explore data types in the basics of R, including numeric, integer, logical, and character. R is case sensitive, and the class() function identifies datatypes.
Vectors are one dimensional arrays in R that hold numeric, character, or logical data. Create them with c, use names function, and perform addition, sum, indexing, ranges, mean, and comparisons.
Master creating and manipulating matrices in R with the matrix function, byrow and nrow options, and apply cbind, rbind, and row and column sums in a film collection example.
Learn how factors store categorical data in R, with levels, named levels, and alphabetical ordering; use summary to count levels, and apply ordered true to enable meaningful comparisons.
Learn how to create and manipulate dataframes in R by combining vectors into a table, selecting rows and columns, and using subset, head, tail, and str to inspect structure.
Learn to create a list in R by combining a vector, matrix, and dataframe, name the items, and subset with [[ ]] to access elements and the diameter column.
Create a data frame with id and name, then export it to myfirst.csv using write.csv with row.names=FALSE to produce a two-column csv.
Learn how to import data into an R dataframe using read.csv from a csv file, or by choosing a file with file.choose, and store it as csvdata or csvdata1.
Explore flow control statements in R programming, including if-condition and else-condition, switch case, for loop, and while loop, with examples using numeric vectors and conditional outputs.
Explore pre-built functions in R, including the pipe operator %in%, rep, paste with the separator option sep, toupper, tolower, nchar, and seq(2,10,3) for sequence generation.
Learn how to create and call a user-defined function in R using the function keyword, pass arguments, and apply it in a for-loop to print multiples.
Learn to create graphs in R with a single plot() statement, including barplots, histograms, pie charts, and boxplots, using numeric x and y vectors.
Learn how to create a basic graph in R using the plot(x, y) function, and name the graph, x-axis, and y-axis with main, xlab, and ylab.
Learn to construct and customize histograms in R using hist(x), label axes with xlab and ylab, set a main title, and color the histogram with predefined colors or color codes.
Explore how to construct barplots in R using the barplot(x) function, color bars with col, add main titles, and create horizontal, stacked, and grouped barplots from vectors and matrices.
Construct a box plot from two numeric vectors using boxplot(formula), color it with col='red', and assign a main title to reveal min, max, and median values in the data.
Construct a pie chart using the pie() function with numeric regions and labels, color slices with rainbow(5), and create a 3D pie chart with plotrix and pie3D(), using explode 0.2.
Learn how to compute mean, median, variance, and standard deviation in R with the admissions dataset. Explore the syntax mean(admissions$admitted), median(admissions$admitted), var(admissions$admitted), and sd(admissions$admitted) for the admitted column.
Explore range, sum, quantiles, co-relation, and co-variance in R using admissions data, and learn to compute range(x), sum(admissions$admitted), quantiles, and cor or cov.
Explore binomial and poisson distributions in R, learning to query help, compute probabilities with dbinom and dpois, and obtain cumulative values with pbinom, ppois, and sum.
Explore the normal distribution in R with mean 100 and sd 10, use pnorm and dnorm, and learn the summary function to quickly summarize data frames.
Explore linear regression in R by modeling admitted versus applicants, interpreting correlation, coefficients, and residuals, and visualizing the best-fit line with lm and abline.
This course is designed for absolute beginners who want to learn the R programming language in a simple, enjoyable, and practical way. If you are new to programming or curious about R and want to learn without feeling overwhelmed, this course is perfect for you.
We start from the very basics and gradually build your understanding using easy explanations and real examples. You will first learn how to install R, understand the R environment, and write your first R programs. Step by step, you will explore data types, data frames, and basic data management, which form the foundation of R programming.
The course also introduces flow control concepts such as conditions and loops, helping you understand how programs work logically. You will learn how to create basic graphs and visualizations to represent data clearly and meaningfully. In addition, the course covers basic statistical concepts, making it easier to analyze and interpret data using R.
This course has been carefully developed with the support of a young and enthusiastic research team, focusing on clarity and hands-on learning. By the end of the course, you will be confident in using R for basic programming, data handling, statistics, and visualization and ready to explore more advanced topics in the future.