Publications by user
Data Analysis milestone 1
# Load necessary libraries library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.2.3 ## Warning: package 'ggplot2' was built under R version 4.2.3 ## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'tidyr' was built under R version 4.2.3 ## Warning: package 'readr' was built under R version 4....
50 sym R (6542 sym/39 pcs) 7 img
Mapping Demo
setwd("C:/Users/User/OneDrive/R FILE/Spatial Statistics/mapping with r") library(tigris) ## To enable caching of data, set `options(tigris_use_cache = TRUE)` ## in your R script or .Rprofile. library(tidycensus) library(tidyverse) ## ── Attaching core tidyverse packages ────────────────────────...
582 sym R (26138 sym/38 pcs) 11 img
STI_figures_230917
library(readxl) ## Warning: package 'readxl' was built under R version 4.3.1 library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.1 ## Warning: package 'purrr' was built under R version 4.3.1 ## Warning: package 'dplyr' was built under R version 4.3.1 ## ── Attaching core tidyverse packages ─────────�...
138 sym R (12658 sym/21 pcs) 7 img
STI_figures_230917
library(readxl) ## Warning: package 'readxl' was built under R version 4.3.1 library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.1 ## Warning: package 'purrr' was built under R version 4.3.1 ## Warning: package 'dplyr' was built under R version 4.3.1 ## ── Attaching core tidyverse packages ─────────�...
136 sym R (10465 sym/19 pcs) 7 img
STAT 230 PROJECT
################################################################################ ################################################################################ ### ### ### STAT 230, DATA MINING MINI PROJRCT - 2023 ### ### ...
53 sym R (12619 sym/45 pcs) 5 img
ID3
d = iris library(caTools) library(rpart) library(rpart.plot) library(caret) ## Loading required package: ggplot2 ## Loading required package: lattice # Splitting set.seed(20) # Setting the seed sample =sample.split(d$Species, SplitRatio = .70) Train=subset(d, sample==TRUE) Test=subset(d, sample==FALSE) # Training the decision Tree classif...
14 sym R (2725 sym/8 pcs) 3 img
Project
Opening all packages library(ggplot2) library(gganimate) library(plotly) ## ## Attaching package: 'plotly' ## The following object is masked from 'package:ggplot2': ## ## last_plot ## The following object is masked from 'package:stats': ## ## filter ## The following object is masked from 'package:graphics': ## ## layout lib...
1809 sym R (2624 sym/15 pcs) 1 img
Assignment 1
Assignment 1 Do the Following Calculations: a. (54)^(45)-56 (5*4)^(4*5)-56 ## [1] 1.048576e+26 b. 23-1*(8-12) 23-1*(8-12) ## [1] 27 c. 56/8*(3+4) 56/8*(3+4) ## [1] 49 d. 45-5*8+(8+9) 45-5*8+(8+9) ## [1] 22 Create the following vectors a. (2,5,6,7) a<-c(2,5,6,7) a ## [1] 2 5 6 7 b. 1,0,9,8 b<-c(1,0,9,8) b ## [1] 1 0 9 8 c. 6,5,8,3 c<-c...
206 sym
Assignment 2
Assignment 2 Create the vector a<-c(2,5,6,7) b<-c(1,0,9,8) c<-c(6,5,8,3) Row Bind the vectors into 3x4 mat<-rbind(a,b,c) mat ## [,1] [,2] [,3] [,4] ## a 2 5 6 7 ## b 1 0 9 8 ## c 6 5 8 3 Naming Matrix colnames(mat)<-c("Mon", "Tue", "Wed", "Thu") rownames(mat)<-c("Present","Absent","On leave") mat ## ...
204 sym 3 img
Assignment 1
#Do the Following Calculations: ##a. (5*4)^(4*5)-56 (5*4)^(4*5)-56 ## [1] 1.048576e+26 ##b. 23-1*(8-12) 23-1*(8-12) ## [1] 27 ##c. 56/8*(3+4) 56/8*(3+4) ## [1] 49 ##d. 45-5*8+(8+9) 45-5*8+(8+9) ## [1] 22 #Create the following vectors ##a. (2,5,6,7) a<-c(2,5,6,7) a ## [1] 2 5 6 7 ##b. 1,0,9,8 b<-c(1,0,9,8) b ## [1] 1 0 9 8 ##c. 6,5,8,3 c<...
17 sym