I have tried plotting one column with the following command and it works. However, when attempting to plot a few columns, the command does not work
#this works but only for one column
boxplot(as.numeric(new[[2]]), horizontal = T, col = "lightblue", notch = T, main="Heart Failure Mortality")
#does not work, I am trying to get the first 3 columns
boxplot(as.numeric(new[[c(1:3)]]))