search for: rfs_days2

Displaying 6 results from an estimated 6 matches for "rfs_days2".

2018 Feb 10
1
please help me a little
...able "cna.rate" to first line. Can you run them and tell me why the first line does not run correctly? please install coxphf package if you do not have it installed. Thank you very much!!! Ding test<-read.csv("data_coxphf.csv", head=T) res_coxphf <- coxphf(formula=Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~test[, 6], data=test) res_coxphf2 <- coxphf(formula=Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ test$FAM138A.chr1, data=test) res_coxph <- coxph(formula=Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ test[, 6], data=test) res_coxphf_cnaRate <- coxphf(formula=Surv(...
2018 Jan 15
2
consolidate three function into one
...k you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen. Ding # function to generate RFS curves RFS <- function( inputfile, N ) { cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, data = inputfile) if( N==2) {palette <- c("red", "black") legend.labs <- c("Cluster1", "Cluster2") } else if(N==3) {palette <- c("red", "black"...
2018 Jan 15
0
consolidate three function into one
...lem now, I assign a name to the > "ggsurvplot" object and then add print(fig) at bottom of function > definition, now figure gets printed on screen. > > Ding > > # function to generate RFS curves > RFS <- function( inputfile, N ) { > cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, > data = inputfile) > if( N==2) {palette <- c("red", "black") > legend.labs <- c("Cluster1", "Cluster2") > } > > else if(N==3) {palette <- c(&quot...
2018 Jan 15
1
consolidate three function into one
...k you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen. Ding # function to generate RFS curves RFS <- function( inputfile, N ) { cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, data = inputfile) if( N==2) {palette <- c("red", "black") legend.labs <- c("Cluster1", "Cluster2") } else if(N==3) {palette <- c("red", "black"...
2018 Jan 14
2
consolidate three function into one
...2cluster <-RFS(inputfile =allinfo_m52, N=2 ) I do not get error message, but no figure displays on screen. I do not know what is going on. Can you help me a little more on this issue? Thank you, Ding # function to generate RFS RFS <- function( inputfile, N ) { cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, data = inputfile) if( N==2) {palette <- c("red", "black") legend.labs <- c("Cluster1", "Cluster2") } else if(N==3)...
2018 Jan 14
0
consolidate three function into one
...t; I do not get error message, but no figure displays on screen. I do not know what is going on. > > Can you help me a little more on this issue? > > Thank you, > > Ding > > # function to generate RFS > RFS <- function( inputfile, N ) { > cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, > data = inputfile) > > if( N==2) {palette <- c("red", "black") > legend.labs <- c("Cluster1", "Cluster2") >...