Class KaplanMeierData.KaplanMeierEvent
java.lang.Object
qupath.lib.analysis.stats.survival.KaplanMeierData.KaplanMeierEvent
- All Implemented Interfaces:
Comparable<KaplanMeierData.KaplanMeierEvent>
- Enclosing class:
KaplanMeierData
public static class KaplanMeierData.KaplanMeierEvent
extends Object
implements Comparable<KaplanMeierData.KaplanMeierEvent>
Simple class to store event time and censored flag.
-
Method Summary
Modifier and TypeMethodDescriptionint
double
Get the stored time to event (units are unspecified).boolean
Returns true if the event should be considered right-censored.toString()
-
Method Details
-
getTimeToEvent
public double getTimeToEvent()Get the stored time to event (units are unspecified).- Returns:
-
isCensored
public boolean isCensored()Returns true if the event should be considered right-censored.- Returns:
-
compareTo
- Specified by:
compareTo
in interfaceComparable<KaplanMeierData.KaplanMeierEvent>
-
toString
-