> pcox(Surv(time, event) ~ p(x, basisype = "te", linear=FALSE), data=dat)
Error in ExtractData(object, data, knots) :
'names' attribute [2] must be the same length as the vector [1]
> pcox(Surv(time, event) ~ p(x, basisype = "te"), data=dat)
Warning in assign(x = nm, trm.i, envir = newfrmlenv) :
only the first element is used as variable name
Warning in newtrmstrings[i] <- nm :
number of items to replace is not a multiple of replacement length
Warning in mean.default(x, na.rm = TRUE) :
argument is not numeric or logical: returning NA
Error in model.frame.default(formula = Surv(time, event) ~ x, data = pcoxdata, :
invalid type (list) for variable 'x'
[ ] predict does not do the right thing for missings:
(refers to fixup - branch)
returns the intercept where it should be NA.....