darwin-eu / CohortSurvival

https://darwin-eu-dev.github.io/CohortSurvival/
Apache License 2.0
2 stars 0 forks source link

estimateCompetingRiskSurvival() suppressing event counts when setting minCellCount = 0 #2

Open daniellenewby opened 7 months ago

daniellenewby commented 7 months ago

Picked up by a data partner.

Setting min cell count in this argument to 0 should return all values however it is obscuring counts <5 which we believe is due to incorrect code here and <5 being hard coded here:

https://github.com/darwin-eu/CohortSurvival/blob/e08caa7a810e7f715f3bd62a096e84e3f2592f6a/R/estimateSurvival.R#L738

Can we have a work around please whilst the newest version is being submitted to CRAN?

Thanks

Danielle

KimLopezGuell commented 2 weeks ago

This should be corrected in the newest release.