Open ShixiangWang opened 2 years ago
library(survival) lung str(lung) summary(coxph(Surv(time, status) ~ factor(ph.ecog) * factor(sex), data = lung))
factor(ph.ecog)3:factor(sex)2 NA NA NA NA
会有NA值