Lecture 5 - Scatter Plot Matrix
Lecture 5 - Scatter Plot Matrix
setwd("C:/Users/Danisha/OneDrive/Desktop/Statistical _Methods")
read.csv("AnscombeData.csv",header=T)
----------------------------------------------------------------
> setwd("C:/Users/Danisha/OneDrive/Desktop/Statistical _Methods")
> data<-read.csv("insurance",header=T)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'insurance': No such file or directory
> data<-read.csv("insurance.csv",header=T)
> View(data)
> plot(data[c(1,3,4,7)])
> install.package("car")
Error in install.package("car") :
could not find function "install.package"
> install.packages("car")
Installing package into ‘C:/Users/Danisha/OneDrive/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘clipr’, ‘R6’, ‘BH’, ‘cpp11’, ‘glue’, ‘purrr’,
‘digest’, ‘rematch’, ‘prettyunits’, ‘assertthat’, ‘utf8’, ‘matrixStats’,
‘RcppArmadillo’, ‘forcats’, ‘hms’, ‘readr’, ‘rlang’, ‘tidyselect’, ‘vctrs’,
‘cellranger’, ‘progress’, ‘zip’, ‘stringi’, ‘cli’, ‘crayon’, ‘ellipsis’, ‘fansi’,
‘lifecycle’, ‘pillar’, ‘pkgconfig’, ‘magrittr’, ‘SparseM’, ‘MatrixModels’,
‘conquer’, ‘sp’, ‘haven’, ‘curl’, ‘data.table’, ‘readxl’, ‘openxlsx’, ‘tibble’,
‘minqa’, ‘nloptr’, ‘statmod’, ‘Rcpp’, ‘RcppEigen’, ‘carData’, ‘abind’, ‘pbkrtest’,
‘quantreg’, ‘maptools’, ‘rio’, ‘lme4’
There are binary versions available but the source versions are later:
binary source needs_compilation
RcppArmadillo 0.10.1.0.0 0.10.1.2.0 TRUE
vctrs 0.3.4 0.3.5 TRUE
magrittr 1.5 2.0.1 TRUE