[R] Error Help: duplicate?
Docbanks84
mbanks3 at partners.org
Thu Aug 1 15:18:37 CEST 2013
Hi,
I'm working through practice data in R and I am helped up on this step. I am
not sure why there is an error that claims there is a duplicate subscript
for columns?
Does anyone know what this means and how I can fix it?
> newdata2<-cbind(newdata2,predict(mylogit,newdata=newdata2,type="link",se=TRUE))
> newdata2<-within(newdata2,{PredictedProb<-plogis(fit)
+ LL<-plogis(fit- (1.96 * se.fit))
+ UL<-plogis(fit + (1.96 *se.fit))
+ })
Error in `[<-.data.frame`(`*tmp*`, nl, value = list(UL =
c(0.549206434665668, :
duplicate subscripts for columns
--
View this message in context: http://r.789695.n4.nabble.com/Error-Help-duplicate-tp4672818.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list