Closed pbreheny closed 4 years ago
Some types of variables, such as logicals, trigger an update; when they do, predict.coxph cannot find the updated data set:
logical
predict.coxph
pbc$Male <- pbc$sex == 'm' fit <- coxph(Surv(time, status!=0) ~ Male, pbc) visreg(fit, 'Male')
tiggers an error because model.frame cannot find the reformatted, internal version of the data set created by visreg.
model.frame
visreg
Some types of variables, such as
logical
s, trigger an update; when they do,predict.coxph
cannot find the updated data set:tiggers an error because
model.frame
cannot find the reformatted, internal version of the data set created byvisreg
.