Publications by Arif

0_R Basics

26.03.2022

1. Analyze Matrices It is now time to get your hands dirty. In the following exercises you will analyze the box office numbers of the Star Wars franchise. May the force be with you! # Box office Star Wars (in millions!) new_hope <- c(460.998, 314.4) empire_strikes <- c(290.475, 247.900) return_jedi <- c(309.306, 165.8) # Create box_office box_of...

8366 sym R (18063 sym/118 pcs) 1 img

Introduction to the Tidyverse

27.03.2022

Libraries library(gapminder) library(tidyverse) 0. Course Description This is an introduction to the programming language R, focused on a powerful set of tools known as the Tidyverse. You’ll learn the intertwined processes of data manipulation and visualization using the tools dplyr and ggplot2. You’ll learn to manipulate data by filtering, ...

2632 sym R (13440 sym/47 pcs) 17 img

Introduction to R Programming for Data Science by IBM

29.03.2022

library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.1.3 ## Warning: package 'tidyr' was built under R version 4.1.3 ## Warning: package 'readr' was built under R version 4.1.3 ## Warning: package 'dplyr' was built under R version 4.1.3 library(httr) library(rvest) TASK 1: Get a COVID-19 pandemic Wiki page using HTTP r...

305 sym R (55186 sym/49 pcs) 1 tbl

Data Visualization with ggplot2 Part 1

02.04.2022

Libraries library(tidyverse) library(forcats) library(lubridate) library(ggthemes) library(quantreg) library(openair) library(lattice) library(RColorBrewer) library(rvest) Data data("iris") data("mtcars") data("diamonds") data("economics") mtcars$fcyl <- as.factor(mtcars$cyl) mtcars$fam <- as.factor(mtcars$am) mtcars$car <- row.names(mtcars) load...

10472 sym R (22878 sym/128 pcs) 107 img

Data Visualization with ggplot2 Part 2

02.04.2022

Libraries library(tidyverse) library(forcats) library(lubridate) library(ggthemes) library(quantreg) library(openair) library(lattice) library(RColorBrewer) library(rvest) Data data("iris") data("mtcars") data("diamonds") data("economics") mtcars$fcyl <- as.factor(mtcars$cyl) mtcars$fam <- as.factor(mtcars$am) mtcars$car <- row.names(mtcars) load...

11758 sym R (32678 sym/214 pcs) 104 img

Working with Dates and Times in R

04.04.2022

Libraries library(tidyverse) library(anytime) library(lubridate) library(ggridges) library(microbenchmark) library(fasttime) Data releases <- read.csv("releases.csv") logs <- read.csv("logs.csv") akl_daily_raw <- read_csv("akl_daily_raw.csv") akl_hourly_raw <- read.csv("akl_hourly_raw.csv") 0. Course Description Dates and times are abundant i...

10504 sym R (1124892 sym/130 pcs) 9 img

Exploratory Data Analysis in R

06.04.2022

Libraries library(tidyverse) library(openintro) library(assertive) library(fst) library(broom) library(ggfortify) library(yardstick) library(moderndive) library(plot3D) library(magrittr) library(infer) library(anytime) library(lubridate) library(ggridges) Data cars<- read.csv("cars.csv") comics <- read.csv("comics.csv") immigrant <- read.csv("imm...

9015 sym R (40070 sym/141 pcs) 33 img

Introduction to Statistics in R

06.04.2022

Libraries library(tidyverse) library(anytime) library(lubridate) library(assertive) library(fst) library(broom) library(plot3D) library(magrittr) library(infer) library(anytime) Data food_consumption <- readRDS("food_consumption.rds") amir_deals <- readRDS("seller_1.rds") world_happiness <- readRDS("world_happiness_sugar.rds") 0. Course Descript...

8777 sym R (10793 sym/92 pcs) 13 img

Supervised Learning in R- Classification and Regressions

18.04.2022

Libraries library(tidyverse) library(class) library(openintro) library(assertive) library(fst) library(broom) library(naivebayes) library(pROC) library(rpart) library(rpart.plot) library(sigr) library(WVPlots) library(vtreat) Data signs <- read.csv("signs.csv") # write.csv(signs, "/Users/arifmathiq/R Data/signs.csv", row.names= FALSE) locations <...

25438 sym R (84464 sym/367 pcs) 26 img

Machine Learning Notes

26.04.2022

Decision Tree in R | Classification Tree & Code in R Decision Trees are versatile Machine Learning algorithm that can perform both classification and regression tasks. They are very powerful algorithms, capable of fitting complex datasets. Besides, decision trees are fundamental components of random forests, which are among the most potent Ma...

30098 sym R (14676 sym/52 pcs) 1 img