T Plot Method

broken image


Solving a first-order ODE of the form ut =f(u,t)with given initial conditions. We assume that a method is defi ned to produce our numerical solution vn for n =1,2.,T/∆t (we assign v0 =u0); e.g., the forward Euler method. In words, the convergence statement is as follows: If we shrink the time step smaller and smaller, the largest absolute. Visualization is a quick and easy way to convey concepts in a universal manner, especially to those who aren't familiar with your data. This tutorial will describe how to plot data in Python using the 2D plotting library matplotlib. Once you have made your plot, you need to tell matplotlib to show it. The usual way to do things is to import matplotlib.pyplot and call show from there: import numpy as np import pandas as pd import matplotlib.pyplot as plt ts = pd.Series (np.random.randn (1000), index=pd.daterange ('1/1/2000', periods=1000)) ts.plot plt.show.

Are you less frightened of statistics when we talk about them as tools? How about talking about statistics without showing you any equations? Well, that's what this lesson by Dr. Westgard does. If you can think about method validation as a job that needs a set of tools, you're ready to read this article.

Bland–Altman plot: In analytical chemistry and biostatistics this plot is a method of data plotting used in analysing the agreement between two different assays. It is identical to a Tukey mean-difference plot, which is what it is still known as in other fields, but was popularised in medical statistics by Bland and Altman.

Note: This lesson is drawn from the first edition of the Basic Method Validation book. This reference manual is now in its third edition. The updated version of this material is also available in an online training program accredited by both the AACC and ASCLS.
  • Example tools

This lesson is actually about statistics, but I didn't dare put 'statistics' in the title. Many people get uncomfortable at the mention of 'statistics'. Others become uncomfortable when they see the equations for the statistical calculations. By now - three sentences into this lesson - you may be wondering if you can just skip the lesson and avoid the topic. The answer is NO; you need statistics to make sense of the data collected in method validation experiments.

Tools, not equations!

To reduce the mental roadblocks in understanding statistics, there aren't any equations in this lesson. Instead, we're going to assume the calculations can be easily performed with the calculator and computer technology that's available today. Your main job will be to recognize what calculations are useful for different sets of data.

When I lecture on this topic, I begin by showing the class a bunch of tools, such as a hammer, wrench, saw, and screwdriver. Office tools (such as a stapler, scissors, paper, and pen) would provide just as good examples, but you're too comfortable with those tools. I want you to learn that you can use tools, even if you're not comfortable with them. So, let's consider the hammer, wrench, saw, and screwdriver.

  • Which tool would be most useful for hanging a picture on the wall?
  • Which tool would you use to tighten the bows on your sunglasses.
  • Which tool do you want to take along at Christmas time when you go into the forest to get your tree?
  • Which tool do you hope to have along if your car has a flat tire?

You don't have to be an engineer, mechanic, or carpenter to recognize which tool fits these jobs. Everyone makes use of these tools to do certain basic jobs. While there are more complicated applications that take more skill and knowledge - and sometimes more specialized tools, everyone is capable of making practical use of the common tools.

It can be the same with statistics!

Recommended tools for data analysis

Statistics are just tools for combining many experimental results and summarizing all the data in just a few numbers. Remember that the objective of each experiment is to estimate the amount of error from the data collected. The key with statistics is to know which ones will provide useful information about the errors of interest in the different experiments.

Before trying to estimate these errors, we need to define the usable analytical range (or reportable range) of the method so that the experiments can be properly planned and valid data can be collected. The reportable range is usually defined as the range where the analytical response of the method is linear with respect to the concentration of the analyte being measured.

Then we start with the error analysis. First, we want to know the imprecision or random error from the 20 or more data points collected in a replication experiment. Then we need to estimate the systematic error from the 40 or more data points collected in a comparison of methods experiment. Finally, we need to make a judgment on the performance of the method on the basis of the errors that have been obesrved. The statistics are used to make reliable estimates of the errors from the data that have been collected.

Here's a picture of the tool kit you need to analyze the data from basic method validation experiments. The tool kit includes several calculators and plotters:

  • Linear data plotter to display the observed method response versus the relative or assigned concentrations for a series of solutions or specimens;
  • SD calculator to determine distribution statistics (mean, SD, and CV) and to display a histogram of the distribution;
  • Paired data calculator to determine regression statistics (slope or a, y-intercept or b, standard deviation about the regression line or sy/x, and correlation coefficient, r), display the data in a comparison plot (test method as y, comparison method as x), determine t-test statistics (bias, SDdiff, and t-value), and display data in a difference plot (y-x vs x);
  • Decision calculator to judge performance,

Note also that these tools often include both calculations and graphical displays of the data. There is an association between certain calculator and graphs because they complement each other for describing and displaying a set of data. For example, distribution statistics are use together with a histogram plot to descibe and display data for imprecision or random error. For inaccuracy or systematic error, regression statistics are used along with a comparison plot, or t-test statistics are used together with a difference plot.

Note also that there s a natural order for using the tools, as suggested by their location in the tool kit. Those at the top are generally pulled out first, e.g. the linear-data plotter is used in the beginning to establish the reportable range of the method, after wich the SD calculator will be used to estimate the imprecision or random error, whose acceptability can be assessed using the decision calculator. After these steps, the paired-data calculator will be used to estimate the inaccuracy of the method and the decision calculator used again to assess the overall performance of the method.

Where to get the tools

These calculator tools may be obtained from hand held calculators (e.g., Texas Instruments), electronic spreadsheets (e.g., Excel, Lotus 123), common statistics packages (Minitab, SAS, SPSS), specialized method validation software written for laboratory applications, and also from interactive web-calculators on this website. Many of these sources will also provide appropriate graphical displays, or you can construct them manually using graph paper. The Method Decision Chart should be constructed manually using graph paper.

We will provide more detailed discussions of the statistical calculations in other lessons, as well as the fine points of what the statistics mean and how they should be interpreted. For now we're going to focus on the bigger picture - which tools are appropriate for the different method validation experiments.

When to use each tool

Given a set of experimental data, you need to recognize which tool is right for that job. Here are some general guidelines:

  • Random error (RE) is almost always estimated by calculating a standard deviation. The experiment itself determines what factors contribute to the estimate, e.g., the replication experiment limits the RE to just the method being tested, whereas the comparison of methods experiment can provide an estimate of the RE between methods, which depends on the variation observed for both the test and comparison method.
  • Systematic error (SE) is related in some way to the calculation of a mean or average. This may be the average difference between paired samples in a comparison of methods study, or the difference between the means between two methods, or a representation of the average relationship as given by the line of best fit through the method-comparison data.
  • Remember that a decision on the acceptability of a method's performance is a judgment on whether the observed errors will affect the medical usefulness of the test. The statistics provide the best estimate of the size of the errors [1]. You have to make the judgment on whether those errors will affect the medical usefulness of the test [2]. You can do this by defining a quality requirement in the form of an allowable total error, TEa, such as defined by the CLIA proficiency testing criteria for acceptable performance. A simple graphical tool called the Method Decision Chart can be used to help you judge method performance [3].

Example tools for Educational use

Internet calculators for educational use are available. These web-tools should be useful for working with example data sets and problem sets. However, they are not intended to answer all your data analysis needs for method validation studies. It is also recommended that you acquire your own calculator tools, either a general statistics program, a specialized method validation program, or an electronic spreadsheet.

The linear-data plotter is used with the data collected in the linearity experiment, where the purpose is to assess the analytical range over which patient results may be reported. The response of the method is plotted on the y-axis versus the relative concentration or assigned values of the samples or specimens on the x-axis. The 'reportable range' is generally estimated as the linear working range of the analytical method.

The SD calculator is used for the data collected in the replication experiment, where the objective is to estimate the random error or imprecision of the method on the basis of repeated measurements on the same sample material. The statistics that should be calculated are the mean, SD, and CV. Also be sure to record the number of measurements used in the calculations.

  • The mean, or average of the group of results, describes the central location of the measurements.
  • The SD describes the expected distribution of results, i.e., 66% are expected to be within plus/minus 1 SD of the mean, 95% within plus/minus 2 SD of the mean, and 99.7% within plus/minus 3 SD of the mean.
  • The CV, or coefficient of variation, is equal to the SD divided by the mean, times 100 to express in percent.
  • The histogram displays the distribution of results. Ideally, the distribution should appear gaussian, or 'normal.'

The paired data calculator may be used with the pairs of results on each specimen analyzed by the test and comparison methods in the comparison of methods experiment. This is the most complicated part of the statistical analysis and requires the most care and attention. Linear regression statistics may be used along with a comparison plot, or t-test statistics may be used along with a difference plot.

The regression statistics that should be calculated are the slope (b) and y-intercept of the line (a), the standard deviation of the points about that line (sy/x), and the correlation coefficient (r, the Pearson product moment correlation coefficient). You may also see the slope designated as m, the y-intercept as b, and the standard deviation as sresiduals, respectively. The correlation coefficient is included to help you decide whether the linear regression statistics or the t-test statistics will provide the most reliable estimates of systematic error.

T-plot Method Wiki

  • The slope describes the angle of the line that provides the best fit to the test and comparison results. A perfect slope would be 1.00. Deviations from 1.00 are an indication of proportional systematic error [1].
  • The y-intercept describes where the line of best fit intersects with the y-axis. Ideally, the y-intercept should be 0.0. Deviations from 0.0 are an indication of constant systematic error [1].
  • The sy/x term describes the scatter of the data around the line of best fit. It provides an estimate of the random error between methods which includes both the imprecision of the test and comparison methods, as well as possible matrix effects that vary from one specimen to another. It will never be zero because both the test and comparison methods have some imprecision [1].
  • The correlation coefficient describes how well the results between the two methods change together. An r of +1.00 indicates perfect correlation, i.e., all the points fall perfectly on a line that shows the test method values vs the comparison method values. Values less than 1.00 indicate there is scatter in the data about the line of best fit. The lower the r value, the more scatter in the data. The main use of r is to help you assess the reliability of the linear regression calculations – r should never be used as an indicator of method acceptability [1]. When r is 0.99 or greater, linear regression calculations will provide reliable estimates of errors. When r is less than 0.975, it is better to use the paired data calculations or an alternate (and more complicated) regression technique such as Deming's regression [4,5].
  • A comparison plot should be used to display the data from the comparison of methods experiment (plotting the comparison method value on the x-axis and the test method value on the y-axis). This plot is then used to visually inspect the data to identify possible outliers and to assess the range of linear agreement [1].

The t-test statistics of interest are the bias, SD of the differences, and lastly, something called a t-value which also requires knowledge of the number of paired sample measurements. Again, be sure to keep track of the number of measurements, which for the comparison of methods experiment is the number of patient specimens compared.

  • The bias is the difference between the averages by the two methods, which is also the same as the average difference for all the specimens analyzed by the two methods. It provides an estimate of the systematic error or average difference that is expected between the methods – the smaller the bias, the smaller the systematic error, the better the agreement.
  • The SD of the differences provides an estimate of the random error between the methods. It will never be zero because both the test and comparison methods have some imprecision.
  • The t-value itself is an indicator of whether enough paired sample measurements have been collected to know whether the observed bias is real, or statistically significant. As a rule of thumb, in a method comparison experiment where the minimum of 40 patient specimens have been compared, if t is greater than 2.0, the data is sufficient to conclude that a bias exists. It's important to note that it's the size of the bias that's important in judging the acceptability of the method, not the size of the t-value.
  • A difference plot should be used to display the differences between paired results, plotting the difference between the test method minus comparison method values on the y-axis versus the comparison method result on the x-axis. Difference plots are being popularized today because of their simplicity [6], however, their use and interpretation are not so simple when you want to make a quantitative and objective decision about method performance [7].

The decision calculator is used to display the estimates of random and systematic errors and judge the performance of the method [3]. Therefore, this chart depends on the estimates of errors that are obtained from other statistical calculations. In brief, the chart is drawn on the basis of the quality requirement that is defined for the method and shows the allowable inaccuracy on the y-axis versus the allowable imprecision on the x-axis. The observed imprecision and inaccuracy of the method are then plotted to display the method's 'operating point' (y-coordinate is the estimate of inaccuracy or SE, x-coordinate is the estimate of imprecision or RE). The position of this operating point is interpreted relative to the lines that define areas of 'poor,' 'marginal,' 'good,' and 'excellent' performance. See the PDF files for details.

A note about our online tools

Our online calculators are set up for a fixed number of data points, e.g., 20 points for the SD calculator and 40 points for the Paired Difference, Linear Regression, and Correlation calculators. These calculator tools should be useful for example data sets and problem sets included with these instructional materials. However, they are not intended to answer all your data analysis needs for routine method evaluation studies. It is also recommended that you set up your own calculator tools using an electronic spreadsheet.

References:

  1. Westgard JO, Hunt MR. Use and interpretation of common statistical tests in method comparison studies. Clin Chem 1973;19:49-57.
  2. Westgard JO, Carey RN, Wold S. Criteria for judging precision and accuracy in method development and evaluation. Clin Chem 1974;20:825-33.
  3. Westgard JO. A method evaluation decision chart (MEDx Chart) for judging method performance. Clin Lab Science. 1995;8:277-83.
  4. Stockl D, Dewitte K, Thienpont M. Validity of linear regression in method comparison studies: limited by the statistical model or the quality of the analytical data? Clin Chem 1998;44:2340-6.
  5. Cornbleet PJ, Gochman N. Incorrect least-squares regression coefficients in method-comparison analysis. Clin Chem 1979;25:432-8.
  6. Bland JM, Altman DG. Statistical methods for assessing agreement beween two methods of clinical measurement. Lancet 1986;307-10.
  7. Hyltoft Petersen P, Stockl D, Blaabjerg O, Pedersen B, Birkemose E, Thienpont L, Flensted Lassen J, Kjeldsen J. Graphical interpretration of analytical data from comparison of a field method with a reference method by use of difference plots [opinion]. Clin Chem 1997;43:2039-46.
A visualization of a correlation matrix.

A graphical display of a correlation matrix, confidence interval. The detailsare paid great attention to. It can also visualize a general matrix bysetting is.corr = FALSE.

Usage Arguments
corr

The correlation matrix to visualize, must be square iforder is not 'original'. For general matrix, please usingis.corr = FALSE to convert.

method

Character, the visualization method of correlation matrix to be used. Currently, it supports seven methods, named 'circle' (default), 'square', 'ellipse', 'number', 'pie', 'shade' and 'color'. See examples for details.

The areas of circles or squares show the absolute value of corresponding correlation coefficients. Method 'pie' and 'shade' came from Michael Friendly's job (with some adjustment about the shade added on), and 'ellipse' came from D.J. Murdoch and E.D. Chow's job, see in section References.

type

Character, 'full' (default), 'upper' or'lower', display full matrix, lower triangular or upper triangularmatrix.

add

Logical, if TRUE, the graph is added to an existing plot,otherwise a new plot is created.

col

Vector, the color of glyphs. It is distributed uniformly incl.lim. If NULL, col will becolorRampPalette(col2)(200), see example about col2.

bg

The background color.

title

Character, title of the graph.

is.corr

Logical, whether the input matrix is a correlation matrix ornot. We can visualize the non-correlation matrix by settingis.corr = FALSE.

diag

Logical, whether display the correlation coefficients on theprincipal diagonal.

outline

Logical or character, whether plot outline of circles, squareand ellipse, or the color of these glyphs. For pie, this represents thecolor of the circle outlining the pie. If outline is TRUE,the default value is 'black'.

mar

See par.

addgrid.col

The color of the grid. If NA, don't add grid. IfNULL the default value is chosen. The default value depends onmethod, if method is color or shade, the colorof the grid is NA, that is, not draw grid; otherwise 'grey'.

addCoef.col

Color of coefficients added on the graph. If NULL(default), add no coefficients.

addCoefasPercent

Logic, whether translate coefficients into percentagestyle for spacesaving.

order

Character, the ordering method of the correlation matrix.

  • 'original' for original order (default).

  • 'AOE' for the angular order of the eigenvectors.

  • 'FPC' for the first principal component order.

  • 'hclust' for the hierarchical clustering order.

  • 'alphabet' for alphabetical order.

See function corrMatOrder for details.

hclust.method

Character, the agglomeration method to be used whenorder is hclust. This should be one of 'ward','ward.D', 'ward.D2', 'single', 'complete','average', 'mcquitty', 'median' or 'centroid'.

addrect

Integer, the number of rectangles draws on the graph accordingto the hierarchical cluster, only valid when order is hclust.If NULL (default), then add no rectangles.

T-plot method theory
rect.col

Color for rectangle border(s), only valid when addrectis equal or greater than 1.

rect.lwd

Numeric, line width for borders for rectangle border(s), onlyvalid when addrect is equal or greater than 1.

tl.pos

Character or logical, position of text labels. If character, itmust be one of 'lt', 'ld', 'td', 'd' or'n'. 'lt'(default if type'full') means left and top,'ld'(default if type'lower') means left and diagonal,'td'(default if type'upper') means top and diagonal(near),'d' means diagonal, 'n' means don't add textlabel.

tl.cex

Numeric, for the size of text label (variable names).

tl.col

The color of text label.

tl.offset

Numeric, for text label, see text.

tl.srt

Numeric, for text label string rotation in degrees, seetext.

cl.pos

Character or logical, position of color labels; If character,it must be one of 'r' (default if type'upper' or'full'), 'b' (default if type'lower') or 'n','n' means don't draw colorlabel.

cl.lim

The limits (x1, x2) in the colorlabel.

cl.length

Integer, the number of number-text in colorlabel, passed tocolorlegend. If NULL, cl.length islength(col) + 1 when length(col) <=20; cl.length is 11when length(col) > 20

cl.cex

Numeric, cex of number-label in colorlabel, passed tocolorlegend.

cl.ratio

Numeric, to justify the width of colorlabel, 0.1~0.2 issuggested.

cl.align.text

Character, 'l', 'c' (default) or'r', for number-label in colorlabel, 'l' means left,'c' means center, and 'r' means right.

cl.offset

Numeric, for number-label in colorlabel, seetext.

number.cex

The cex parameter to send to the call to textwhen writing the correlation coefficients into the plot.

number.font

the font parameter to send to the call totext when writing the correlation coefficients into the plot.

number.digits

indicating the number of decimal digits to beadded into the plot. Non-negative integer or NULL, default NULL.

addshade

Character for shade style, 'negative','positive' or 'all', only valid when method is'shade'. If 'all', all correlation coefficients' glyph willbe shaded; if 'positive', only the positive will be shaded; if'negative', only the negative will be shaded. Note: the angle ofshade line is different, 45 degrees for positive and 135 degrees fornegative.

shade.lwd

Numeric, the line width of shade.

shade.col

The color of shade line.

p.mat

T-plot Method Theory

Matrix of p-value, if NULL, arguments sig.level,insig, pch, pch.col, pch.cex is invalid.

sig.level

Significant level, if the p-value in p-mat is biggerthan sig.level, then the corresponding correlation coefficient isregarded as insignificant. If insig is 'label_sig', this maybe an increasing vector of significance levels, in which case pchwill be used once for the highest p-value interval and multiple times(e.g. '*', '**', '***') for each lower p-value interval.

insig

Character, specialized insignificant correlation coefficients,'pch' (default), 'p-value', 'blank', 'n', or'label_sig'. If 'blank', wipe away the corresponding glyphs;if 'p-value', add p-values the corresponding glyphs;if 'pch', add characters (see pch for details) oncorresponding glyphs; if 'n', don't take any measures; if'label_sig', mark significant correlations with pch(see sig.level).

pch

Add character on the glyphs of insignificant correlationcoefficients(only valid when insig is 'pch'). Seepar.

pch.col

The color of pch (only valid when insig is'pch').

pch.cex

The cex of pch (only valid when insig is 'pch').

plotCI

Character, method of ploting confidence interval. If'n', don't plot confidence interval. If 'rect', plot rectangleswhose upper side means upper bound and lower side means lower bound,respectively, and meanwhile correlation coefficients are also added on therectangles. If 'circle', first plot a circle with the bigger absolutebound, and then plot the smaller. Warning: if the two bounds are the samesign, the smaller circle will be wiped away, thus forming a ring. Method'square' is similar to 'circle'.

lowCI.mat

Matrix of the lower bound of confidence interval.

uppCI.mat

Matrix of the upper bound of confidence interval.

na.label

Label to be used for rendering NA cells. Default is'?'. If 'square', then the cell is rendered as a square with thena.label.col color.

na.label.col

Color used for rendering NA cells. Default is'black'.

win.asp

Box Plot Method

Aspect ration for the whole plot. Value other than 1 iscurrently compatible only with methods 'circle' and 'square'.

Additional arguments passing to function text for drawingtext lable.

Method
rect.col

Color for rectangle border(s), only valid when addrectis equal or greater than 1.

rect.lwd

Numeric, line width for borders for rectangle border(s), onlyvalid when addrect is equal or greater than 1.

tl.pos

Character or logical, position of text labels. If character, itmust be one of 'lt', 'ld', 'td', 'd' or'n'. 'lt'(default if type'full') means left and top,'ld'(default if type'lower') means left and diagonal,'td'(default if type'upper') means top and diagonal(near),'d' means diagonal, 'n' means don't add textlabel.

tl.cex

Numeric, for the size of text label (variable names).

tl.col

The color of text label.

tl.offset

Numeric, for text label, see text.

tl.srt

Numeric, for text label string rotation in degrees, seetext.

cl.pos

Character or logical, position of color labels; If character,it must be one of 'r' (default if type'upper' or'full'), 'b' (default if type'lower') or 'n','n' means don't draw colorlabel.

cl.lim

The limits (x1, x2) in the colorlabel.

cl.length

Integer, the number of number-text in colorlabel, passed tocolorlegend. If NULL, cl.length islength(col) + 1 when length(col) <=20; cl.length is 11when length(col) > 20

cl.cex

Numeric, cex of number-label in colorlabel, passed tocolorlegend.

cl.ratio

Numeric, to justify the width of colorlabel, 0.1~0.2 issuggested.

cl.align.text

Character, 'l', 'c' (default) or'r', for number-label in colorlabel, 'l' means left,'c' means center, and 'r' means right.

cl.offset

Numeric, for number-label in colorlabel, seetext.

number.cex

The cex parameter to send to the call to textwhen writing the correlation coefficients into the plot.

number.font

the font parameter to send to the call totext when writing the correlation coefficients into the plot.

number.digits

indicating the number of decimal digits to beadded into the plot. Non-negative integer or NULL, default NULL.

addshade

Character for shade style, 'negative','positive' or 'all', only valid when method is'shade'. If 'all', all correlation coefficients' glyph willbe shaded; if 'positive', only the positive will be shaded; if'negative', only the negative will be shaded. Note: the angle ofshade line is different, 45 degrees for positive and 135 degrees fornegative.

shade.lwd

Numeric, the line width of shade.

shade.col

The color of shade line.

p.mat

T-plot Method Theory

Matrix of p-value, if NULL, arguments sig.level,insig, pch, pch.col, pch.cex is invalid.

sig.level

Significant level, if the p-value in p-mat is biggerthan sig.level, then the corresponding correlation coefficient isregarded as insignificant. If insig is 'label_sig', this maybe an increasing vector of significance levels, in which case pchwill be used once for the highest p-value interval and multiple times(e.g. '*', '**', '***') for each lower p-value interval.

insig

Character, specialized insignificant correlation coefficients,'pch' (default), 'p-value', 'blank', 'n', or'label_sig'. If 'blank', wipe away the corresponding glyphs;if 'p-value', add p-values the corresponding glyphs;if 'pch', add characters (see pch for details) oncorresponding glyphs; if 'n', don't take any measures; if'label_sig', mark significant correlations with pch(see sig.level).

pch

Add character on the glyphs of insignificant correlationcoefficients(only valid when insig is 'pch'). Seepar.

pch.col

The color of pch (only valid when insig is'pch').

pch.cex

The cex of pch (only valid when insig is 'pch').

plotCI

Character, method of ploting confidence interval. If'n', don't plot confidence interval. If 'rect', plot rectangleswhose upper side means upper bound and lower side means lower bound,respectively, and meanwhile correlation coefficients are also added on therectangles. If 'circle', first plot a circle with the bigger absolutebound, and then plot the smaller. Warning: if the two bounds are the samesign, the smaller circle will be wiped away, thus forming a ring. Method'square' is similar to 'circle'.

lowCI.mat

Matrix of the lower bound of confidence interval.

uppCI.mat

Matrix of the upper bound of confidence interval.

na.label

Label to be used for rendering NA cells. Default is'?'. If 'square', then the cell is rendered as a square with thena.label.col color.

na.label.col

Color used for rendering NA cells. Default is'black'.

win.asp

Box Plot Method

Aspect ration for the whole plot. Value other than 1 iscurrently compatible only with methods 'circle' and 'square'.

Additional arguments passing to function text for drawingtext lable.

Details

corrplot function offers flexible ways to visualize correlation matrix, lower and upper bound of confidence interval matrix.

Value

(Invisibly) returns a reordered correlation matrix.

Note

Cairo and cairoDevice packages is strongly recommended to produce high-quality PNG, JPEG, TIFF bitmap files, especially for that methodcircle, ellipse.

Row- and column names of the input matrix are used as labels rendered in the corrplot. Plothmath expressions will be used if the name is prefixed by one of the following characters: :, = or $. For example ':alpha + beta'.

References

Michael Friendly (2002).Corrgrams: Exploratory displays for correlation matrices.The American Statistician, 56, 316--324.

D.J. Murdoch, E.D. Chow (1996).A graphical display of large correlation matrices.The American Statistician, 50, 178--180.

See Also

Function plotcorr in the ellipse package and corrgram in the corrgram package have some similarities.

T-plot Method Micropore Volume

Package seriation offered more methods to reorder matrices, such as ARSA, BBURCG, BBWRCG, MDS, TSP, Chen and so forth.

Aliases
  • corrplot
Examples Documentation reproduced from package corrplot, version 0.84, License: GPL

Community examples

Pore Size Distribution Bet

API documentation




broken image