library(readxl)
CSDATA <- read_excel(“CSDATA.xlsx”)
dim(CSDATA)
#Fitting the linear regression on all the independent variables Continue reading
Tag: R Programming Homework help
R Programming Task on Model Comparison and Lasso
```{r setup, include = FALSE} knitr::opts_chunk$set(echo = TRUE) library(cvTools) #library(glmnet) library(sandwich) Continue reading
R Programming Task on Naive Bayes Classifier
#data
Universal_bank = read.csv(“UniversalBank.csv”, header = T)
dim(Universal_bank)
head(Universal_bank) Continue reading
R Programming Task on Matrix
summary_statistics_A <- function(matrix){
vec = sort(as.vector(matrix))
len = length(vec)
if(isSymmetric(matrix) && is.numeric(matrix)){
min = vec[1]
Continue reading