Module # 11 Debugging and defensive programming in R
For this project, the goal is to identify the error in the top section of code, in the image. The following error arises with the last section of code { outlier.vec[i] <- all(outliers[i,]) } return(outlier.vec) }. In this case the use of parentheses is wrong. The right use is below.
Comments
Post a Comment