[R] Matrix of Lists containing numbers and characters
TJUN KIAT TEO
teotjunk at hotmail.com
Mon Jan 25 09:52:42 CET 2016
Here is my sample code
TunePar<-matrix(list(Null),2,2)
TunePar[[1,1]]=list(subclasses=3,model="gen.ridge")
tune=paste(colnames(Temp),Temp,sep="=")
tune=paste(tune,collapse=",")
However when I type tune
This is what I get
"subclasses=3,model=1"
The text "gen.ridge has been converted to the number 1. Any idea why? Thanks
[[alternative HTML version deleted]]
More information about the R-help
mailing list