Debugging in R

Daniel Tafmizi

Dr. Friedman

Lis 4370

Module 11


 Github: daniel.R/Work.R/LIS4370Rprog/debugR.R at main · DanielDataGit/daniel.R


When debugging I came across two error statements. The line "outliers[,j] <- outliers[,j] && tukey.outlier(x[,j]) " resulted in error messages. To resolve this problem, I wrote "outliers[j] <- all(outliers[,j])". This fixed the logical coercion and the lack of a tukey.outlier function. Since we have no method for detecting outliers, this just makes it so that the answer is TRUE for all.  

Comments

Popular posts from this blog

redditApiR

Mod 7 OOP

Description File