Displaying 3 results from an estimated 3 matches for "grade1".
Did you mean:
grade
2009 Sep 21
2
cox memory
Hi there,
I have a rather large data set and perform the following cox model:
test1 <- list(tstart,tstop,death1,chemo1,radio1,horm1)
out1<-coxph( Surv(tstart,tstop, death1) ~ chemo1+chemo1:log(tstop+1)+horm1+horm1:log(tstop+1)+age1+grade1+grade1:log(tstop+1)+positive1+positive1:log(tstop+1)+size1+size1:log(tstop+1), test1)
out1
Up to here everything works fine (with each covariate having a length of 289205)
Now I want to see a specific profile of the above model so I ask for:
x11()
profilbig2=(survfit(out1,newdata=data.frame(chem...
2010 Dec 01
1
Extract specific rows from matrix
I have a matrix with 3 years of data (2006, 2009, 2010). I am trying to split this matrix by year so that I have 3 separate matrices. My matrix looks like this:
Q16.1 Year Gender Grade1 3 2006 1 52 2 2006 0 53 3 2006 0 54 3 2006 0 55 3 2006 1 56 2 2006 0 57 3 2006 0 58 3 2006 1 59 3 2006 0 510 3 2006 0 511 3 2006 0 512 ...
2004 Nov 28
1
Modifications to an abline
...a specified point. Can this be done? Last, I'm not sure I want the abline to extend the entire region of the chart, but maybe say to the middle of the barplot.
I would appreciate any thoughts on this. Any thoughts on code to improve the chart is also appreciated.
Harold
Windows XP
ver 1.9
Grade1<-c(0,0,0,0)
Grade2<-c(0,0,0,0)
Grade3<-c(0,0,0,0)
Grade4<-c(0,0,0,0)
Grade5<-c(250,100,100,100)
foobar<-cbind(Grade1,Grade2,Grade3,Grade4,Grade5)
barplot(foobar,names=c("Grade 1", "Grade 2", "Grade 3", "Grade 4", "Grade 5"),
col=c...