Publications by Hyreen Alice and Banabas Kariuki
Document
Final Project: Predictive Factors and Model Comparison for Medicare Procedure Cost Estimation Hyreen Alice and Banabas Kariuki 2023-01-31 Loading Packages library("data.table") ## Warning: package 'data.table' was built under R version 4.2.3 library("dplyr") ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:data...
5877 sym R (24742 sym/110 pcs) 7 img
Data Analysis and Visualization of US Accidents 2021
Final Project Report Hyreen Alice 2022-12-12 # Loading the required package library(skimr) library(ggplot2) library(knitr) library(tidyverse) library(data.table) library(knitr) library(arrow) library(bench) library(haven) library(googlesheets4) library(plyr) library(scales) library(ggdist) library(patchwork) library(ggthemes) li...
3214 sym Python (21166 sym/50 pcs) 5 img 20 tbl
US Accidents 2021 Interactive Dashboard
Interpretation and Visualization of the Accidents in Michigan, New York, and Ohio Column An Interactive Visualization Showing Accidents per Varying Weather Conditions Column Visualization of the Accidents per Month Using ‘geom_col’ Monthly Accidents in 2021 in MI, NY and OH Number of Accidents per Day in the Three States in Dec 2021...
1117 sym 15 img 2 tbl
Scatter plot and Tables
Header1 here will state the problem second level Header describe the previous problem Third level header some other text that I adore all the time We can add an hypelink as seen : Google for italic use italic text, for bold text use bold text and for code in r use rcode plys superscripts2^2 and subscripts2 R Markdown This is an R Markdown do...
1300 sym R (687 sym/6 pcs) 2 img 2 tbl
Joining Data with dpllyr
Joining Data with dplyr Hyreen Alice 2022-10-20 Installing packages library(tidyverse) library(lubridate) library(knitr) library(skimr) Importing data FullmichiganFlights<-readRDS('fullMiFlights2021.rds') creating an object called michiganFlights. michiganFlights<-readRDS('fullMiFlights2021.rds') Use the View() function to explore the objec...
1999 sym Python (7723 sym/37 pcs) 1 tbl
Pivot_wider and Pivot longer
Pivoting Tables of Data with tidyr Hyreen Alice 2022-10-28 library(tidyverse) library(skimr) library(ggthemes) First, import climate change data from GitHub into R using the code below # Observed annual average temperatures for the Lower 48 states tempState <- read_csv("https://raw.githubusercontent.com/washingtonpost/data-2C-beyond-the-lim...
772 sym Python (8068 sym/25 pcs) 3 img 12 tbl
Functions
Fundamentals of Functions in R Hyreen Alice Wednesday, November 09, 2022 library(tidyverse) library(stringr) # Creating a function called mySum with 2 required arguments mySum<-function(number1, number2){ return(number1+number2) } # Defaulting to order of arguments in function mySum(5,3) ## [1] 8 # Manually specifying arguments mySum(nu...
420 sym
Bootstrapping and Randomization
Bootstrapping and Simulations with R Hyreen Alice 22 November, 2022 library(tidyverse) library(stringr) library(ggdist) library(broom) simulating a single die roll #Simulating single die roll sample(x = 1:6, size = 1) ## [1] 5 # Simulating two dice rolls sample(x = 1:6, size = 2, replace = TRUE) ## [1] 1 1 #Use the sample function to simul...
1469 sym Python (11795 sym/53 pcs) 9 img