I am having a problem with the following script. When converting the min and max columns of the data.frame base to cha