as.matrix.data.frame(x)
This function is a method for the generic function as.matrix for class "data.frame". It can be invoked by calling as.matrix for an object of the appropriate class, or directly by calling as.matrix.data.frame regardless of the class of the object.
as.matrix(fuel.frame) #produces a character matrix Weight Disp. Mileage Fuel Type Eagle Summit 4 "2560" " 97" "33" "3.030303" "Small" Ford Escort 4 "2345" "114" "33" "3.030303" "Small" Ford Festiva 4 "1845" " 81" "37" "2.702703" "Small" Honda Civic 4 "2260" " 91" "32" "3.125000" "Small" Mazda Protege 4 "2440" "113" "32" "3.125000" "Small" . . .