public class CoxR extends Object
| Constructor and Description |
|---|
CoxR() |
| Modifier and Type | Method and Description |
|---|---|
static void |
calculateWaldTestInfo(CoxInfo ci) |
void |
coxphfitSCleanup(CoxInfo ci,
boolean useWeighted,
boolean robust,
ArrayList<String> cluster) |
double |
coxsafe(double x) |
static void |
main(String[] args) |
CoxInfo |
process(ArrayList<String> variables,
ArrayList<SurvivalInfo> DataT,
boolean useStrata,
boolean useWeighted,
boolean robust,
boolean cluster) |
CoxInfo |
process(ArrayList<String> variables,
ArrayList<SurvivalInfo> data,
int maxiter,
CoxMethod method,
double eps,
double toler,
double[] beta,
int doscale,
boolean useStrata,
boolean useWeighted,
boolean robust,
boolean cluster) |
public CoxInfo process(ArrayList<String> variables, ArrayList<SurvivalInfo> DataT, boolean useStrata, boolean useWeighted, boolean robust, boolean cluster) throws Exception
variables - DataT - useStrata - useWeighted - robust - cluster - Exceptionpublic CoxInfo process(ArrayList<String> variables, ArrayList<SurvivalInfo> data, int maxiter, CoxMethod method, double eps, double toler, double[] beta, int doscale, boolean useStrata, boolean useWeighted, boolean robust, boolean cluster) throws Exception
variables - data - maxiter - method - eps - toler - beta - doscale - useStrata - useWeighted - robust - cluster - Exceptionpublic void coxphfitSCleanup(CoxInfo ci, boolean useWeighted, boolean robust, ArrayList<String> cluster) throws Exception
ci - useWeighted - robust - cluster - Exceptionpublic static void calculateWaldTestInfo(CoxInfo ci)
public static void main(String[] args)
args - the command line argumentspublic double coxsafe(double x)
x - Copyright © 2000-2015 BioJava. All Rights Reserved.