444445446447448449450451452453454
dataX.length, dataY.length )); RConnection rConnection = null; LinearRegressionResult result = new LinearRegressionResult(); try { rConnection = getRConnection(); String equation = (String)MapUtils.fromPairs(