Skip to content

Problem processing data #2

Description

@rchurt

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions