Skip to contents

Return the field-level contract that every registered fit closure must honour: the names of the fields a normalised fit result carries, so that survestimand() and every downstream verb can rely on one shape. Use sest_validate_method() to check a specific method against it.

Usage

sest_contract()

Value

A character vector of the required field names.

Examples

sest_contract()
#> [1] "raw"      "coef"     "vcov"     "loglik"   "n"        "n_events" "kind"    
#> [8] "backend"