On 2020-10-31 14:30, Gabor Grothendieck wrote:
coxreg could search for frailty and issue a warning or error if found. This
returns TRUE if frailty is used in the formula argument as a function but
not otherwise. That would allow implementation of a nicer message than
if it were just reported
coxreg could search for frailty and issue a warning or error if found. This
returns TRUE if frailty is used in the formula argument as a function but
not otherwise. That would allow implementation of a nicer message than
if it were just reported as a missing function.
find_frailty <- function(e)
On 2020-10-31 13:49, Duncan Murdoch wrote:
On 30/10/2020 2:45 p.m., Göran Broström wrote:
My CRAN package eha depends on the survival package, and that creates
problems with innocent users: It is about the 'frailty' function
(mainly). While (after 'library(eha)')
f1 <- coxph(Surv(time, statu
On 30/10/2020 2:45 p.m., Göran Broström wrote:
My CRAN package eha depends on the survival package, and that creates
problems with innocent users: It is about the 'frailty' function
(mainly). While (after 'library(eha)')
f1 <- coxph(Surv(time, status) ~ age + frailty(inst), data = lung)
produce
On 2020-10-31 12:09, Göran Broström wrote:
I think I finally got it: I must involve the export business after
importing, thus, in NAMESPACE:
importFrom(survival,Surv)
export(Surv)
That's all,
Not really:
* checking for missing documentation entries ... WARNING
Undocumented code objects:
I think I finally got it: I must involve the export business after
importing, thus, in NAMESPACE:
importFrom(survival,Surv)
export(Surv)
That's all,
G,
On 2020-10-30 19:45, Göran Broström wrote:
My CRAN package eha depends on the survival package, and that creates
problems with innocent user