I can not understand why this fails

>
> faicoutput2 <- list(stuff21 = as.numeric(faicout$coefficients[2]),
+                      stuff31=as.numeric(faicout$coefficients[3]),
+                      stuff41=as.numeric(faicout$coefficients[4]),
+                      stuff32=(stuff21-stuff31),
+                      stuff42=(stuff21-stuff41),
+                      stuff43=(stuff32-stuff42)
+                      )
Error: object 'stuff21' not found
>
Why does it have to be found, exist previously ... it is being created?


But this works fine ....

data <- list(Ntrials =numtritot, Ncomparisons=2,
             treat=c(rep(1 ,N.trials[1,2]), rep(2,N.trials[1,3])),
             total.patientnums.trt1=dat2[ ,2],
             total.patientnums.trt23=dat2[ ,2],
             num.countstrt1=dat2[ ,5],
             num.countstrt23=dat2[ ,6] )


 .... ????





===============================
Dr. Jim Maas
University of East Anglia


	[[alternative HTML version deleted]]

