search for: datafram01

Displaying 1 result from an estimated 1 matches for "datafram01".

Did you mean: datafram
2009 Aug 04
2
error in Elastic net
...And, here also getting error.   > as.numeric(marker) Error: (list) object cannot be coerced to type 'double' > is.numeric(marker) [1] FALSE   Alternatively, I converted marker into numeric by using data.frame command, it seems markers are now converted into numeric.   > is.factor(datafram01[,1]) [1] FALSE > is.numeric(datafram01[,1]) [1] TRUE But when i did again elastic net, i got the same error:   > en<-enet(datafram01,as.numeric(vio),lambda=0.5,normalize=FALSE,intercept=TRUE) Error in one %*% x : requires numeric matrix/vector arguments Does someone have ideas to overco...