Skip to content

Error in quantile.default(newX[, i], ...) : missing values and NaN's not allowed if 'na.rm' is FALSE #3

@ruwanepi

Description

@ruwanepi

Hello John,

Thanks very much to the team for updating the package, and the helpful R journal article. I have been successfully running the package until recently when I encountered this error, after about an hour of runtime (using some data on cholera cases over a 1-year period).

I am unable to trace its origin, so far, but I think it's related to the get.tau.ci function and adding add na.rm = TRUE in the quantile() call for constructing the CIs. Indeed, I'm not sure if it's an issue with the package. Thank you for any insight you may be able to provide.

Error:

Error in quantile.default(newX[, i], ...) : 
  missing values and NaN's not allowed if 'na.rm' is FALSE
Called from: quantile.default(newX[, i], ...)

From traceback:

eval(substitute(browser(skipCalls = pos)
get_tau.ci
get_tau_and_cis
run_main_analysis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions