Skip to content

Life table -> lt_abridged() failing for life tables starting at later ages #275

Description

@Chydide

Hi Tim and team,

I have been trying to use the lt_abridged() function to obtain an abridged life table estimates starting at age 20 and over, the function seems to be generating an error indicating a missing column, I have added a quick example:

lt_abridged(
Age = seq(20, 85, 5),
nMx = c(0.001, 0.0012, 0.0015, 0.002, 0.003, 0.004, 0.005, 0.007, 0.009, 0.015, 0.025, 0.045, 0.065, 0.090),
Sex = "f")

Could you please help.

Regards,
Chido

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