Description Usage Arguments Details Value Author(s) References See Also Examples
Computes correlation matrix of x with method "pearson", "kendall" or "spearman". This function also prints the matrix with the significance levels.
1 |
x |
the data |
method |
the method used |
This function estimate the association between paired samples an compute a test of the value being zero. All measures of association are in the range [-1,1] with 0 indicating no association.
cor |
Correlation matrix |
p.value |
p-value of the test statistic |
Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.
1 2 3 4 |
Loading required package: geoR
--------------------------------------------------------------
Analysis of Geostatistical Data
For an Introduction to geoR go to http://www.leg.ufpr.br/geoR
geoR version 1.7-5.2.1 (built on 2016-05-02) is now loaded
--------------------------------------------------------------
Loading required package: sgeostat
Warning messages:
1: no DISPLAY variable so Tk is not available
2: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
3: 'rgl_init' failed, running with rgl.useNULL = TRUE
4: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
Ca Cu Mg Na P Sr Zn
Ca 1.00 *** *** *** *** *** *
Cu 0.29 1.00 *** *** *** *** ***
Mg 0.26 0.77 1.00 *** *** *** ***
Na 0.79 0.26 0.16 1.00 *** ***
P 0.62 0.18 0.21 0.38 1.00 *** ***
Sr 0.70 0.35 0.39 0.63 0.47 1.00 ***
Zn 0.08 0.66 0.71 0.05 0.20 0.41 1.00
There were 21 warnings (use warnings() to see them)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.