Publications by manahel
assignment
R Markdown Project Overview: Objective: To perform a data science analysis on a real-world dementia dataset using R. Scope: The dataset is obtained from a mobile healthcare service provided in collaboration with non-governmental organizations that manage elderly care centers in various districts of Hong Kong. The service was offered for free fr...
1179 sym R (14165 sym/73 pcs) 13 img
assignment datascience
R Markdown Project Overview: Objective: To perform a data science analysis on a real-world dementia dataset using R. Scope: The dataset is obtained from a mobile healthcare service provided in collaboration with non-governmental organizations that manage elderly care centers in various districts of Hong Kong. The service was offered for free fr...
1290 sym R (14149 sym/73 pcs) 13 img
Assignment5(5121101)
R Markdown BS_5th <- data.frame( name = c('Ali','Ahmad','Sania','Sara','Adil','Sharjeel','Subhan','Arbaz','Asad','Hassan','waleed'), cgpa = c(2.5, 3.2, 3.9, 2.99, 3.10, 2.99, 2.91, 2.87, 3.2, 3.52, 2.50), grade = c('D', 'B', 'A', 'C', 'B', 'A', 'B', 'B', 'B', 'A', 'D') ) BS_5th ## name cgpa grade ## 1 Ali 2.50 D ## 2 Ahma...
1678 sym R (3615 sym/40 pcs)
Assignment5(5121101)
R Markdown BS_5th <- data.frame( name = c('Ali','Ahmad','Sania','Sara','Adil','Sharjeel','Subhan','Arbaz','Asad','Hassan','waleed'), cgpa = c(2.5, 3.2, 3.9, 2.99, 3.10, 2.99, 2.91, 2.87, 3.2, 3.52, 2.50), grade = c('D', 'B', 'A', 'C', 'B', 'A', 'B', 'B', 'B', 'A', 'D') ) BS_5th ## name cgpa grade ## 1 Ali 2.50 D ## 2 Ahma...
1678 sym R (3615 sym/40 pcs)
Assignment_4(5121101)
R Markdown EXERCISE 3.11 For these exercises we will use the US murders dataset. Make sure you load it prior to starting. library(dslabs) data("murders") Q1: Use the $ operator to access the population size data and store it as the object pop. Then use the sort function to redefine so that it is sorted. Finally, use the [ operator to report th...
3801 sym R (8957 sym/43 pcs)
assignment3_5121101
R Markdown EXERCISE 3.6 Q:1 Load the US murders dataset. library(dslabs) data(murders) Use the function str to examine the structure of the murders object. We can see that this object is a data frame with 51 rows and fve columns. Which of the following best describes the variables represented in this data frame? A. The 51 states. B. The murder ...
3026 sym R (4348 sym/50 pcs)
Assignment_3(5121101)
R Markdown EXERCISE 3.6 Q:1 Load the US murders dataset. library(dslabs) data(murders) Use the function str to examine the structure of the murders object. We can see that this object is a data frame with 51 rows and fve columns. Which of the following best describes the variables represented in this data frame? A. The 51 states. B. The murder ...
3025 sym R (4348 sym/50 pcs)
assignment2(01)
R Markdown install.packages(“ggplot2”) library(ggplot2) Sample dataset set.seed(136) df <- data.frame(y = rnorm(300), group = sample(LETTERS[1:3], size = 300, replace = TRUE)) Box plot by group ggplot(df, aes(x = group, y = y)) + geom_boxplot() Adding err...
1534 sym R (2227 sym/12 pcs) 10 img
assignment2(01)
R Markdown install.packages(“ggplot2”) library(ggplot2) Sample dataset set.seed(136) df <- data.frame(y = rnorm(300), group = sample(LETTERS[1:3], size = 300, replace = TRUE)) Box plot by group ggplot(df, aes(x = group, y = y)) + geom_boxplot() Adding err...
1534 sym R (2227 sym/12 pcs) 10 img
manahel Ansari 5121101
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within...
2274 sym R (9970 sym/114 pcs)