giabaio / survHE

Survival analysis in health economic evaluation Contains a suite of functions to systematise the workflow involving survival analysis in health economic evaluation. survHE can fit a large range of survival models using both a frequentist approach (by calling the R package flexsurv) and a Bayesian perspective.
https://gianluca.statistica.it/software/survhe/
41 stars 19 forks source link

Error with function digitise #30

Open IlariaPiergentili opened 4 years ago

IlariaPiergentili commented 4 years ago

Hi Gianluca, I'm writing to you because I'm always experiencing the following error:

Error in if (n.censor[i] <= 0) { : missing value where TRUE/FALSE needed

Can you help me figure out what the problem might be? Thanks

giabaio commented 4 years ago

Ilaria, You're going to have to give me a lot more details here... Are you following the template instructions laid out in the manual? Also: I assume you are using a file obtained through digitisation of a KM curve, using DigitizeIT?

IlariaPiergentili commented 4 years ago

Hi Gianluca, I'm using a file obtained by digitizing a KM curve using DigitizeIt. Now I solved the problem, thanks.

Programming-Skills commented 4 years ago

Hi Gianluca, I'm using a file obtained by digitizing a KM curve using DigitizeIt. Now I solved the problem, thanks.

Hi ilaria,

How did you solve the probelm? It's exactly what I am getting.

Thanks

giabaio commented 4 years ago

I think this is the same solution I pointed out here. That would do, I think.