private String maxInColumn(int c,int startIndex,int endIndex)
	{
		//determine type of value in 1st cell
		String type = getColumnType(c);

		if(startIndex < 0 | endIndex > this.ROWS)
			return "NaN";

		//if this is a value we can sum
		if (type.equals("int"))
		{
			int[] cells = Common.convertStringListToIntArray(getColumn(c).subList(startIndex, endIndex));
			return Cast.DoubleToString(StatsOps.Max(cells));
		}
		else if (type.equals("float"))
		{
			float[] cells = Common.convertStringListToFloatArray(getColumn(c).subList(startIndex, endIndex));
			return Cast.FloatToString(StatsOps.Max(cells));
		}
		else if (type.equals("double"))
		{
			double[] cells = Common.convertStringListToDoubleArray(getColumn(c).subList(startIndex, endIndex));
			return Cast.DoubleToString(StatsOps.Max(cells));
		}
		else if (type.equals("String"))
			return "";
		else
			return "NaN";
	}