I have some data that I’m trying to run through the estimate.R function, and I keep getting the error: Error in uniroot(fit.epid, lower = res.R$maximum, upper = log(range[2]), : f.lower = f(lower) is NA.
I’m running check.incid and using the output of that as the input to estimate.R. Specifically, I combine the output of check.incid into a named vector. I've saved one example as a csv and attached it. This is what I’m using as the input to estimate.R. You’ll notice that some numbers are fractional—this is because this vector is an average of case numbers across multiple counties.
I’m guessing that the vector isn’t being formatted quite right by check.incid. Do you have any suggestions?
Thanks in advance,
Rob
cases_averaged.csv.zip
I have some data that I’m trying to run through the
estimate.Rfunction, and I keep getting the error:Error in uniroot(fit.epid, lower = res.R$maximum, upper = log(range[2]), : f.lower = f(lower) is NA.I’m running
check.incidand using the output of that as the input toestimate.R. Specifically, I combine the output ofcheck.incidinto a named vector. I've saved one example as a csv and attached it. This is what I’m using as the input toestimate.R. You’ll notice that some numbers are fractional—this is because this vector is an average of case numbers across multiple counties.I’m guessing that the vector isn’t being formatted quite right by
check.incid. Do you have any suggestions?Thanks in advance,
Rob
cases_averaged.csv.zip