r:correlation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
r:correlation [2018/12/26 15:06] – hkimscil | r:correlation [2018/12/26 15:19] (current) – hkimscil | ||
---|---|---|---|
Line 30: | Line 30: | ||
</ | </ | ||
< | < | ||
- | mpg disp hp drat wt qsec | + | > rcorr(as.matrix(my_data)) |
- | mpg 1.00 -0.85 -0.78 0.68 -0.87 0.42 | + | mpg cyl |
- | disp -0.85 1.00 0.79 -0.71 0.89 -0.43 | + | mpg |
- | hp | + | cyl -0.85 1.00 0.90 0.83 -0.70 0.78 -0.59 |
- | drat 0.68 -0.71 -0.45 1.00 -0.71 0.09 | + | disp -0.85 |
- | wt | + | hp |
- | qsec 0.42 -0.43 -0.71 0.09 -0.17 1.00 | + | drat 0.68 -0.70 -0.71 -0.45 1.00 -0.71 0.09 |
+ | wt | ||
+ | qsec 0.42 -0.59 -0.43 -0.71 0.09 -0.17 1.00 | ||
n= 32 | n= 32 | ||
Line 42: | Line 44: | ||
P | P | ||
- | | + | |
- | mpg | + | mpg 0.0000 |
- | disp 0.0000 | + | cyl 0.0000 |
- | hp | + | disp 0.0000 |
- | drat 0.0000 0.0000 0.0100 | + | hp 0.0000 |
- | wt | + | drat 0.0000 |
- | qsec 0.0171 0.0131 0.0000 0.6196 0.3389 | + | wt 0.0000 |
- | > </ | + | qsec 0.0171 |
+ | > | ||
+ | </ |
r/correlation.1545804376.txt.gz · Last modified: 2018/12/26 15:06 by hkimscil