I have a dataset with 2 numerical fields (X and Y) and one categorical field (only two types).

If I use a scatterplot I can plot my data with two different symbol for each type (see the figure).

I'm looking for the best equation able to split/separate my data in two group.

My deal was to use R so R code to be able to do that could be helpful.

Thanks

Similar questions and discussions