Class SurvFitKM
java.lang.Object
org.biojava.nbio.survival.kaplanmeier.figure.SurvFitKM
Ported from survfitKM.S When combining multiple entries with same time not
 sure how the weighting adds up
- Author:
 - Scooter Willis 
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic enum - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidprocess(String datafile, String timeColumn, String statusColumn, String weightColumn, String variableColumn, boolean useWeights) process(String variable, ArrayList<SurvivalInfo> dataT, boolean useWeighted) process(String variable, ArrayList<SurvivalInfo> dataT, SurvFitKM.Method method, SurvFitKM.Error error, boolean seFit, double confInt, SurvFitKM.ConfType confType, SurvFitKM.ConfLower confLower, Double startTime, Double newTime, boolean useWeighted) process(LinkedHashMap<String, ArrayList<CensorStatus>> survivalData, boolean useWeights) processStrataInfo(String variable, ArrayList<SurvivalInfo> dataT, SurvFitKM.Method method, SurvFitKM.Error error, boolean seFit, double confInt, SurvFitKM.ConfType confType, SurvFitKM.ConfLower confLower, Double startTime, Double newTime, boolean useWeighted)  
- 
Constructor Details
- 
SurvFitKM
public SurvFitKM() 
 - 
 - 
Method Details
- 
process
public SurvFitInfo process(LinkedHashMap<String, ArrayList<CensorStatus>> survivalData, boolean useWeights) throws Exception- Parameters:
 survivalData-useWeights-- Returns:
 - Throws:
 Exception
 - 
process
public SurvFitInfo process(String datafile, String timeColumn, String statusColumn, String weightColumn, String variableColumn, boolean useWeights) throws Exception - Parameters:
 datafile-timeColumn-statusColumn-weightColumn-variableColumn-useWeights-- Returns:
 - Throws:
 Exception
 - 
process
public SurvFitInfo process(String variable, ArrayList<SurvivalInfo> dataT, boolean useWeighted) throws Exception - Parameters:
 variable-dataT-useWeighted-- Returns:
 - Throws:
 Exception
 - 
processStrataInfo
public LinkedHashMap<String,StrataInfo> processStrataInfo(String variable, ArrayList<SurvivalInfo> dataT, SurvFitKM.Method method, SurvFitKM.Error error, boolean seFit, double confInt, SurvFitKM.ConfType confType, SurvFitKM.ConfLower confLower, Double startTime, Double newTime, boolean useWeighted) throws Exception - Throws:
 Exception
 - 
process
public SurvFitInfo process(String variable, ArrayList<SurvivalInfo> dataT, SurvFitKM.Method method, SurvFitKM.Error error, boolean seFit, double confInt, SurvFitKM.ConfType confType, SurvFitKM.ConfLower confLower, Double startTime, Double newTime, boolean useWeighted) throws Exception - Parameters:
 variable-dataT-method-error-seFit-confInt-confType-confLower-startTime-newTime-useWeighted-- Returns:
 - Throws:
 Exception
 - 
main
- Parameters:
 args- the command line arguments
 
 -