|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstatgraphics.survival.SurvivalEstimatePlot
public class SurvivalEstimatePlot
Constructs a survival estimate plot.
| Field Summary | |
|---|---|
org.jfree.chart.JFreeChart |
plot
The Kaplan-Meier estiamte plot. |
double[][] |
sortedSurvivalEstimate
The survival estimates in descending order. |
double[][] |
sortedTime
The survival times in ascending order. |
java.lang.String |
title
The plot title. |
java.lang.String |
xLabel
The label for the x-coordinate. |
java.lang.String |
yLabel
The label for the y-coordinate. |
| Constructor Summary | |
|---|---|
SurvivalEstimatePlot(double[][] sortedTime,
double[][] sortedSurvivalEstimate,
java.lang.String[] dataNames)
Creates a new survival estimate plot with the specified names of the series. |
|
SurvivalEstimatePlot(double[][] sortedTime,
double[][] sortedSurvivalEstimate,
java.lang.String[] dataNames,
java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel)
Creates a new survival estimate plot with the specified names of the series, title and labels for the x-coordinate and y-coordinate. |
|
SurvivalEstimatePlot(double[] sortedTime,
double[] sortedSurvivalEstimate)
Creates a new survival estimate plot. |
|
SurvivalEstimatePlot(double[] sortedTime,
double[] sortedSurvivalEstimate,
java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel)
Creates a new survival estimate plot with the specified title and labels for the x-coordinate and y-coordinate. |
|
| Method Summary | |
|---|---|
org.jfree.chart.JFreeChart |
getPlot()
Returns the created survival estimate plot. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.jfree.chart.JFreeChart plot
public double[][] sortedTime
public double[][] sortedSurvivalEstimate
public java.lang.String title
public java.lang.String xLabel
public java.lang.String yLabel
| Constructor Detail |
|---|
public SurvivalEstimatePlot(double[][] sortedTime,
double[][] sortedSurvivalEstimate,
java.lang.String[] dataNames,
java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel)
sortedTime - the series of survival times in ascending order.
sortedTime[j]: the (j+1)'th series of survival times.sortedSurvivalEstimate - the series of survival estimates in descending order.
sortedSurvivalEstimate[j]: the (j+1)'th series of survival estimates.dataNames - the names of these series.
dataNames[j]: the name of the (j+1)'th series.title - the plot title.xLabel - the label for the x-coordinate.yLabel - the label for the y-coordinate.
IllegalArgumentExceptio - the sortedTime vector and
sortedSurvivalEstimate vector must have the same length.
public SurvivalEstimatePlot(double[] sortedTime,
double[] sortedSurvivalEstimate,
java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel)
sortedTime - the survival times in ascending order.sortedSurvivalEstimate - the survival estimates in descending order.title - the plot title.xLabel - the label for the x-coordinate.yLabel - the label for the y-coordinate.
IllegalArgumentExceptio - the sortedTime vector and
sortedSurvivalEstimate vector must have the same length.
public SurvivalEstimatePlot(double[][] sortedTime,
double[][] sortedSurvivalEstimate,
java.lang.String[] dataNames)
sortedTime - the series of survival times in ascending order.
sortedTime[j]: the (j+1)'th series of survival times.sortedSurvivalEstimate - the series of survival estimates in descending order.
sortedSurvivalEstimate[j]: the (j+1)'th series of survival estimates.dataNames - the names of these series.
dataNames[j]: the name of the (j+1)'th series.
IllegalArgumentExceptio - the sortedTime vector and
sortedSurvivalEstimate vector must have the same length.
public SurvivalEstimatePlot(double[] sortedTime,
double[] sortedSurvivalEstimate)
sortedTime - the survival times in ascending order.sortedSurvivalEstimate - the survival estimates in descending order.
IllegalArgumentExceptio - the sortedTime vector and
sortedSurvivalEstimate vector must have the same length.| Method Detail |
|---|
public org.jfree.chart.JFreeChart getPlot()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||