pzivich / Delicatessen

Delicatessen: the Python one-stop sandwich (variance) shop 🥪
https://deli.readthedocs.io/en/latest/index.html
MIT License
22 stars 2 forks source link

Convert time and delta to arrays in survival estimating equations [BUG] #16

Closed pzivich closed 1 year ago

pzivich commented 1 year ago

Expected behavior Currently, the time and delta arguments are expected to be numpy arrays. Generally, I use np.asarray to convert the inputs, to ensure the object typing is correct. I do not do this for survival estimating equations as of v0.5

Describe the bug Built-in survival estimating equations will return an error when provided list objects as arguments.

Relevant error output NA

Versions:

To Reproduce NA

Additional context NA