Continuing on the biopsy dataset.

Questions

Note: class is a protected keyword in R. If you want to refer to the class column of the biopsy dataset, please explicitly mention biopsy$class. If you create the glm.pred vector, make sure you pass the correct size. You can easily find this with the nrow(biopsy) command. Make sure that you have omitted the NA values like we did in Logistic Regression 31


Assume that: