JuliaStats / Survival.jl

Survival analysis in Julia
MIT License
73 stars 23 forks source link

Remove `<:Real` restrictions on type parameters and allow non-`Float64` results #48

Closed ararslan closed 2 years ago

ararslan commented 2 years ago

I've separated the changes into two commits. See commit messages for details.

codecov-commenter commented 2 years ago

Codecov Report

Merging #48 (f955580) into main (12164f5) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   99.63%   99.64%   +0.01%     
==========================================
  Files           6        6              
  Lines         276      285       +9     
==========================================
+ Hits          275      284       +9     
  Misses          1        1              
Impacted Files Coverage Δ
src/estimator.jl 100.00% <100.00%> (ø)
src/eventtimes.jl 100.00% <100.00%> (ø)
src/kaplanmeier.jl 100.00% <100.00%> (ø)
src/nelsonaalen.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 12164f5...f955580. Read the comment docs.