# NOT RUN {
################################
# upload matrix ################
################################
Y <- phytoplankton_acoustic_data$Y
outliers_index <- phytoplankton_acoustic_data$outliers_index
Yclean=Y[-outliers_index,]
trueOutliers=Y[outliers_index,]
################################
# plot results ################
################################
plot(Y, main = "Phytoplankton acoustic data", cex.main = 3, lwd = 1,pch = 19, cex = 1,
type = "n", xlab = "x1", ylab = "x2", xlim = c(0,1.1), ylim = c(0,43)
)
points(trueOutliers,lwd=2,cex=1,pch=4)
points(Yclean,col=1,lwd=1.5,pch=21, bg=4, cex=1)
# }
Run the code above in your browser using DataLab