ggcorrplot function |
您所在的位置:网站首页 › ggcorrplot参数 › ggcorrplot function |
corr
the correlation matrix to visualize method character, the visualization method of correlation matrix to be used. Allowed values are "square" (default), "circle". type character, "full" (default), "lower" or "upper" display. ggtheme ggplot2 function or theme object. Default value is `theme_minimal`. Allowed values are the official ggplot2 themes including theme_gray, theme_bw, theme_minimal, theme_classic, theme_void, .... Theme objects are also allowed (e.g., `theme_classic()`). title character, title of the graph. show.legend logical, if TRUE the legend is displayed. legend.title a character string for the legend title. lower triangular, upper triangular or full matrix. show.diag NULL or logical, whether display the correlation coefficients on the principal diagonal. If NULL, the default is to show diagonal correlation for type = "full" and to remove it when type is one of "upper" or "lower". colors a vector of 3 colors for low, mid and high correlation values. outline.color the outline color of square or circle. Default value is "gray". hc.order logical value. If TRUE, correlation matrix will be hc.ordered using hclust function. hc.method the agglomeration method to be used in hclust (see ?hclust). lab logical value. If TRUE, add correlation coefficient on the plot. lab_col, lab_size size and color to be used for the correlation coefficient labels. used when lab = TRUE. p.mat 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 bigger than sig.level, then the corresponding correlation coefficient is regarded as insignificant. insig character, specialized insignificant correlation coefficients, "pch" (default), "blank". If "blank", wipe away the corresponding glyphs; if "pch", add characters (see pch for details) on corresponding glyphs. pch add character on the glyphs of insignificant correlation coefficients (only valid when insig is "pch"). Default value is 4. pch.col, pch.cex the color and the cex (size) of pch (only valid when insig is "pch"). tl.cex, tl.col, tl.srt the size, the color and the string rotation of text label (variable names). digits Decides the number of decimal digits to be displayed (Default: `2`). as.is A logical passed to melt.array. If TRUE, dimnames will be left as strings instead of being converted using type.convert. x numeric matrix or data frame ... other arguments to be passed to the function cor.test. |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |