[R] library(...,pos=) is not consistent

2010-06-17 Thread Russell Ivory
".GlobalEnv""package:lattice" "package:foreign" "package:pwr" "package:stats" "package:graphics" [7] "package:grDevices" "package:utils" "package:caret" "package:datasets" &

[R] lasso plot using LARS

2009-10-27 Thread Russell Ivory
sks at the break points. I'm using the following code. larsfit <- lars(X,y,type="lasso") larsfit plot(larsfit,breaks=F,lty="solid") Any suggestions in removing the asterisks and plotting truly solid lines? Thanks Russell Ivory AVP Senior Modeling Man

[R] Error in .subset(x, j) : only 0's may be mixed with negative subscripts

2009-06-23 Thread Russell Ivory
RESPONDED) 0 1 141096584 Now, if I want to reduce this data set by removing the RESPONDED column as was done for datastep4, it blows up > test <- datastep5[,-datastep5$RESPONDED] Error in .subset(x, j) : only 0's may be mixed with negative subscri

[R] by() function doesn't work inside another function

2008-07-10 Thread Russell Ivory
lerance.pp$id) but get the same results. Any thoughts are greatly appreciated. Russell Ivory Merrick Bank South Jordan, UT This e-mail and any files transmitted with it are confidential and are intended sole