Class SurvivalInfoSorter<T>
java.lang.Object
dk.alexandra.fresco.stat.survival.SurvivalInfoSorter<T>
- Type Parameters:
T- A subject for survival analysis.
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<List<T>,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
- Direct Known Subclasses:
SurvivalInfoSorterContinuous,SurvivalInfoSorterDiscrete
public abstract class SurvivalInfoSorter<T> extends Object implements dk.alexandra.fresco.framework.builder.Computation<List<T>,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Convert an instance of type
T into a Pair of a DRes<SInt> and a List<DRes<SInt>> and back for use with Collections.sort(List) to sort on the time of event
parameter.-
Field Summary
-
Constructor Summary
Constructors Constructor Description SurvivalInfoSorter(List<T> data) -
Method Summary
Modifier and Type Method Description dk.alexandra.fresco.framework.DRes<List<T>>buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
-
Field Details
-
Constructor Details
-
Method Details