Class SurvFitKM
- java.lang.Object
-
- org.biojava.nbio.survival.kaplanmeier.figure.SurvFitKM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSurvFitKM.ConfLowerstatic classSurvFitKM.ConfTypestatic classSurvFitKM.Errorstatic classSurvFitKM.Method
-
Constructor Summary
Constructors Constructor Description SurvFitKM()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)SurvFitInfoprocess(String datafile, String timeColumn, String statusColumn, String weightColumn, String variableColumn, boolean useWeights)SurvFitInfoprocess(String variable, ArrayList<SurvivalInfo> dataT, boolean useWeighted)SurvFitInfoprocess(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)SurvFitInfoprocess(LinkedHashMap<String,ArrayList<CensorStatus>> survivalData, boolean useWeights)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)
-
-
-
Constructor Detail
-
SurvFitKM
public SurvFitKM()
-
-
Method Detail
-
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
-
-