public class TukeyMeanDifferencePlot extends Object
For two numeric arrays, a and b, the plot shows the mean for each pair of observations (a + b) / 2, as well as the differences between them: a - b.
For more information: https://en.wikipedia.org/wiki/Bland%E2%80%93Altman_plot
| Constructor and Description |
|---|
TukeyMeanDifferencePlot() |
| Modifier and Type | Method and Description |
|---|---|
static Figure |
create(String title,
String measure,
double[] xData,
double[] yData)
Returns a figure containing a QQ Plot describing the differences between the distribution of
values in the columns of interest
|
static Figure |
create(String title,
String measure,
tech.tablesaw.api.Table table,
String columnName1,
String columnName2)
Returns a figure containing a Tukey Mean-Difference Plot describing the differences between the
data in two columns of interest
|
public static Figure create(String title, String measure, tech.tablesaw.api.Table table, String columnName1, String columnName2)
title - A title for the plotmeasure - The measure being compared on the plot (e.g "inches" or "height in inches"table - The table containing the columns of interestcolumnName1 - The name of the first numeric column containing the data to plotcolumnName2 - The name of the second numeric column containing the data to plotpublic static Figure create(String title, String measure, double[] xData, double[] yData)
title - A title for the plotmeasure - The measure being compared on the plot (e.g "inches" or "height in inches"xData - The data to plot on the x AxisyData - The data to plot on the y AxisCopyright © 2019. All rights reserved.