georgheinze / coxphf

2 stars 0 forks source link

"NA/NaN/Inf in foreign function call (arg 3)" #4

Closed lined338 closed 1 year ago

lined338 commented 3 years ago

Hello,

I am trying the coxphf and I get this error: "NA/NaN/Inf in foreign function call (arg 3)".

coxph from survival package works fine. coxphf with flirt=F and pl=F gives me an output but all coef are NAs.

Thanks

Line

lined338 commented 3 years ago

Hello,

I am trying the coxphf and I get this error: "NA/NaN/Inf in foreign function call (arg 3)".

coxph from survival package works fine. coxphf with flirt=F and pl=F gives me an output but all coef are NAs.

Thanks

Line

Hello,

I found out that if 1 of the follow up time was 0, survival coxph worked but not coxphf so changed time from 0 day to 1 day.

Line