public static ClassDiscriminationResult doClassDiscrimination(String docrootPath, double[] dataX, double[] dataY, boolean flag) throws RemoteException
{
RConnection rConnection = null;
ClassDiscriminationResult result = new ClassDiscriminationResult();
try
{
rConnection = getRConnection();