Skip to content
Prev 168081 / 398503 Next

dimnames in pkg "ipred"

I can well imagine that having all those variable names with "=" in  
them could create a problem.

 > str(traindat.bin)
'data.frame':   5414 obs. of  98 variables:
  $ SOIL_UNIT                                         : Factor w/ 82  
levels "17b","19a","19b",..: 1 1 1 1 1 1 1 1 1 1 ...
  $ GEOL_UNIT=Allgaeuschichten                        : Factor w/ 2  
levels "f","t": 1 1 1 1 1 1 1 1 1 1 ...
  $ GEOL_UNIT=Anmooriger_Boden                        : Factor w/ 2  
levels "f","t": 1 1 1 1 1 1 1 1 1 1 ...

Perhaps read.table does a more thorough job of checking variable names  
than does read.arff?