studentgrades.csv contains the below data.
StudentID, First, Last, Math, Science, Social Studies
011, Bob, Smith, 90, 80, 67
012, Jane, Weary, 75, , 80
010, Dan, "Thornton, III", 65, 75, 70
040, Mary, "O'Leary", 90, 95, 92
The code I am using is grades <- read.table("studentgrades.csv", header=TRUE, row.names="StudentID", sep=",") but I am getting the error Error in data[[rowvar]] : **
** attempt to select less than one element in get1index
Need some help to resolve this.