I am using the R programming language. I am trying to learn how to plot "non linear decision boundaries", such as the examples seen over here: https://stats.stacke