Skip to content

Add check for whether endpoint and endpoint.code input values were swapped #7

@tinyheero

Description

@tinyheero

Description

If the endpoint and endpoint.code column names are swapped, the get_cox_res function will fail with an error message similar to:

error in survival::coxph(formula = cox.formula, data = in.df) :
  No (non-missing) observations

The function should check that the values in the columns match up with what is expected.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions