Displaying 2 results from an estimated 2 matches for "othercol".
Did you mean:
othercols
2009 Aug 21
1
trouble with Vista & reading files
...pr("=",hdrDF[,slotCol])+2),
nchar(hdrDF[,slotCol]))
if (any(nchar(hdrDF[,slotCol])==0)) {
print(paste("Header file",hdrFiles[i],
"has no wafer information. Headers will not be
included."))
} else {
otherCols <- tmp[grep("=",tmp)]
otherCols <- otherCols[-grep("WAFER", otherCols, ignore.case=TRUE)]
otherData <- substring(otherCols,(regexpr("=",otherCols)+2),
nchar(otherCols))
otherCols <- substring(otherCols,1,(rege...
2009 Aug 10
0
survival:: plotting survfit with two predictors
...d the error message:
a<-read.delim("FDT_weath_dttrans.txt")
library(survival)
model1<-coxph(Surv(a$deg.below35,a$censor)~a$morder);
plot(survfit(model1,conf.type="none",newdata=data.frame(morder=c("Brachycera","Hymenoptera","Nematocera","OtherCol","Zygoptera"))),lty=1:5)
#produces a fine plot with a separate curve for each level of morder
model2<-coxph(Surv(a$deg.below35,a$censor)~a$morder+a$tmean);
summary(model2) #is fine
plot(survfit(model2,conf.type="none",newdata=data.frame(morder=c("Brachycera",&q...