Publications by Ahmad Abdalla

Tutorial 5

05.12.2021

1. See basic descriptive statistics str(attitude) ## 'data.frame': 30 obs. of 7 variables: ## $ rating : num 43 63 71 61 81 43 58 71 72 67 ... ## $ complaints: num 51 64 70 63 78 55 67 75 82 61 ... ## $ privileges: num 30 51 68 45 56 49 42 50 72 45 ... ## $ learning : num 39 54 69 47 66 44 56 55 67 47 ... ## $ raises : nu...

1068 sym R (9994 sym/38 pcs) 2 img

Tutorial 3 - web scraping woth R

20.11.2021

Webscraping an amazon page for “PlayStation DualSense Wireless Controller – Cosmic Red” Loading the required libraries library(xml2) ## Warning: package 'xml2' was built under R version 4.0.5 library(rvest) ## Warning: package 'rvest' was built under R version 4.0.5 library(stringr) ## Warning: package 'stringr' was built under R version 4...

701 sym R (10159 sym/31 pcs)

Practice3_S20301771

11.11.2021

Q1. Write an R program to count number of objects in a given list? list_data <- list( c(" Red "," Green "," Black "),list(" Python ", " PHP ", " Java ")) print(" List:") ## [1] " List:" print(list_data) ## [[1]] ## [1] " Red " " Green " " Black " ## ## [[2]] ## [[2]][[1]] ## [1] " Python " ## ## [[2]][[2]] ## [1] " PHP " ## ## [[...

913 sym R (3041 sym/48 pcs)

Tutorial 4

21.11.2021

all codes and methods are taken from [Easy way to make a codebook in R, https://www.adrianbruegger.com/post/simple-codebook/ ] accessed 21/11/2021 The required libraries library(haven) # package to read files from popular statistical software packages such as SPSS, SAS, Stata ## Warning: package 'haven' was built under R version 4.0.5 library(ti...

547 sym R (5817 sym/30 pcs)

lab practice

25.11.2021

1. Read file marks1.csv df <- read.csv("C:/ahmed/UM/University Of Malaya/YEAR 1 # FIRST SEMESTER/R programming language/Homework/marks1.csv") df ## X X.1 test asgn Prsnt Final q1 q2 q3 q4 ## 1 60001 Ahmad 15 14 17 13 0.0 9 2 4.0 ## 2 60003 Abu 26 13 18 22 3.0 5 8 6.0 ## 3 60006 Samy 21 15 ...

706 sym R (8280 sym/41 pcs)

S2030177 - Lab Exercise Week 10

06.01.2022

Download the LabW9 dataset from spectrum. Load the dataset and appropriate packages. library(readxl) ## Warning: package 'readxl' was built under R version 4.0.5 library(caret) ## Warning: package 'caret' was built under R version 4.0.5 ## Loading required package: ggplot2 ## Warning: package 'ggplot2' was built under R version 4.0.5 ## Loading ...

535 sym R (6261 sym/29 pcs) 1 img