Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
1 0.02971 0.426 0.04374 0.00554 0.0037 0.00007 0.00784 74.997 157.302 119.992 1 0.04368 0.626 0.06134 0.00696 0.00465 0.00008 0.00968 113.819 148.65 122.4 1 0.0359 0.482 0.05233 0.00781 0.00544 0.00009 0.0105 111.555 131.111 116.682 1 0.03772 0.517 0.05492 0.00698 0.00502 0.00009 0.00997 111.366 137.871 116.676 1 0.04465 0.584 0.06425 0.00908 0.00655 0.00011 0.01284 110.655 141.781 116.014 1 0.03243 0.456 0.04701 0.0075 0.00463 0.00008 0.00968 113.787 131.162 120.552 1 0.01351 0.14 0.01608 0.00202 0.00155 0.00003 0.00333 114.82 137.244 120.267 1 0.01256 0.134 0.01567 0.00182 0.00144 0.00003 0.0029 104.315 113.84 107.332 1 0.01717 0.191 0.02093 0.00332 0.00293 0.00006 0.00551 91.754 132.068 95.73 1 0.02444 0.255 0.02838 0.00332 0.00268 0.00006 0.00532 91.226 120.103 95.056 1 0.01892 0.197 0.02143 0.0033 0.00254 0.00006 0.00505 84.072 112.24 88.333 1 0.02214 0.249 0.02752 0.00336 0.00281 0.00006 0.0054 86.292 115.871 91.904 1 0.0114 0.112 0.01259 0.00153 0.00118 0.00002 0.00293 131.276 159.866 136.926 1 0.01797 0.154 0.01642 0.00208 0.00165 0.00003 0.0039 76.556 179.139 139.173 1 0.01246 0.158 0.01828 0.00149 0.00121 0.00002 0.00294 75.836 163.305 152.845 1 0.01359 0.126 0.01503 0.00203 0.00157 0.00003 0.00369 83.159 217.455 142.167 1 0.02074 0.192 0.02047 0.00292 0.00211 0.00004 0.00544 82.764 349.259 144.188 1 0.0343 0.348 0.03327 0.00387 0.00284 0.00004 0.00718 75.603 232.181 168.778 1 0.05767 0.542 0.05517 0.00432 0.00364 0.00005 0.00742 68.623 175.829 153.046 1 0.0431 0.348 0.03995 0.00399 0.00372 0.00005 0.00768 142.822 189.398 156.405 1 0.04055 0.328 0.0381 0.0045 0.00428 0.00005 0.0084 65.782 165.738 153.848 1 0.04525 0.37 0.04137 0.00267 0.00232 0.00003 0.0048 78.128 172.86 153.88 1 0.04246 0.377 0.04351 0.00247 0.0022 0.00003 0.00442 79.068 193.221 167.93 1 0.03772 0.364 0.04192 0.00258 0.00221 0.00003 0.00476 86.18 192.735 173.917 1 0.01497 0.164 0.01659 0.0039 0.0038 0.00005 0.00742 76.779 200.841 163.656 1 0.0378 0.381 0.03767 0.00375 0.00316 0.00006 0.00633 77.968 206.002 104.4 1 0.01872 0.186 0.01966 0.00234 0.0025 0.00003 0.00455 75.501 208.313 171.041 1 0.01826 0.198 0.01919 0.00275 0.0025 0.00003 0.00496 81.737 208.701 146.845 1 0.01661 0.161 0.01718 0.00176 0.00159 0.00002 0.0031 80.055 227.383 155.358 1 0.01799 0.168 0.01791 0.00253 0.0028 0.00003 0.00502 77.63 198.346 162.568 0 0.00802 0.097 0.01098 0.00168 0.00166 0.00001 0.00289 192.055 206.896 197.076 0 0.00762 0.089 0.01015 0.00138 0.00134 0.00001 0.00241 192.091 209.512 199.228 0 0.00951 0.111 0.01263 0.00135 0.00113 0.00001 0.00212 193.104 215.203 198.383 0 0.00719 0.085 0.00954 0.00107 0.00093 0.000009 0.0018 197.079 211.604 202.266 0 0.00726 0.085 0.00958 0.00106 0.00094 0.000009 0.00178 196.16 211.526 203.184 0 0.00957 0.107 0.01194 0.00115 0.00105 0.00001 0.00198 195.708 210.565 201.464 1 0.01612 0.189 0.02126 0.00241 0.00233 0.00002 0.00411 168.013 192.921 177.876 1 0.01491 0.168 0.01851 0.00218 0.00205 0.00002 0.00369 163.564 185.604 176.17 1 0.0119 0.131 0.01444 0.00166 0.00153 0.00002 0.00284 175.456 201.249 180.198 1 0.01366 0.151 0.01663 0.00182 0.00168 0.00002 0.00316 173.015 202.324 187.733 1 0.01233 0.135 0.01495 0.00175 0.00165 0.00002 0.00298 177.584 197.724 186.163 1 0.01234 0.132 0.01463 0.00147 0.00134 0.00001 0.00258 166.977 196.537 184.055 0 0.01133 0.164 0.01752 0.00182 0.00169 0.00001 0.00298 225.227 247.326 237.226 0 0.01251 0.154 0.0176 0.00173 0.00157 0.00001 0.00281 232.483 248.834 241.404 0 0.01033 0.126 0.01419 0.00137 0.00109 0.000009 0.0021 232.435 250.912 243.439 0 0.01014 0.134 0.01494 0.00139 0.00117 0.000009 0.00225 227.911 255.034 242.852 0 0.01149 0.141 0.01608 0.00148 0.00127 0.00001 0.00235 231.848 262.09 245.51 0 0.0086 0.103 0.01152 0.00113 0.00092 0.000007 0.00185 182.786 261.487 252.455 0 0.01433 0.143 0.01613 0.00203 0.00169 0.00004 0.00524 115.765 128.611 122.188 0 0.014 0.154 0.01681 0.00155 0.00124 0.00003 0.00428 114.676 130.049 122.964 0 0.01685 0.197 0.02184 0.00167 0.00141 0.00003 0.00431 117.495 135.069 124.445 0 0.01614 0.185 0.02033 0.00169 0.00131 0.00004 0.00448 112.773 134.231 126.344 0 0.01677 0.21 0.02297 0.00166 0.00137 0.00003 0.00436 122.08 138.052 128.001 0 0.01947 0.228 0.02498 0.00183 0.00165 0.00004 0.0049 118.604 139.867 129.336 1 0.02067 0.255 0.02719 0.00486 0.00349 0.00007 0.00761 102.874 134.656 108.807 1 0.02454 0.307 0.03209 0.00539 0.00398 0.00008 0.00874 104.437 126.358 109.86 1 0.02802 0.334 0.03715 0.00514 0.00352 0.00007 0.00784 103.37 131.067 110.417 1 0.01948 0.221 0.02293 0.00469 0.00299 0.00006 0.00752 110.402 129.916 117.274 1 0.02137 0.265 0.02645 0.00493 0.00334 0.00007 0.00788 108.153 131.897 116.879 1 0.02519 0.35 0.03225 0.0052 0.00373 0.00008 0.00867 104.68 271.314 114.847 0 0.01382 0.17 0.01861 0.00152 0.00147 0.00001 0.00282 109.379 237.494 209.144 0 0.0134 0.165 0.01906 0.00151 0.00154 0.00001 0.00264 98.664 238.987 223.365 0 0.012 0.145 0.01643 0.00144 0.00152 0.00001 0.00266 205.495 231.345 222.236 0 0.01179 0.145 0.01644 0.00155 0.00175 0.00001 0.00296 223.634 234.619 228.832 0 0.01016 0.129 0.01457 0.00113 0.00114 0.000009 0.00205 221.156 252.221 229.401 0 0.01234 0.154 0.01745 0.0014 0.00136 0.00001 0.00238 113.201 239.541 228.969 1 0.02428 0.313 0.03198 0.0044 0.0043 0.00006 0.00817 67.021 159.774 140.341 1 0.02603 0.308 0.03111 0.00463 0.00507 0.00007 0.00923 66.004 166.607 136.969 1 0.03392 0.478 0.05384 0.00467 0.00647 0.00008 0.01101 65.809 162.215 143.533 1 0.03635 0.497 0.05428 0.00354 0.00467 0.00005 0.00762 67.343 162.824 148.09 1 0.02949 0.365 0.03485 0.00419 0.00469 0.00006 0.00831 65.476 162.408 142.729 1 0.03736 0.483 0.04978 0.00478 0.00534 0.00007 0.00971 65.75 176.595 136.358 1 0.01345 0.152 0.01706 0.0022 0.0018 0.00003 0.00405 111.208 139.71 120.08 1 0.01956 0.226 0.02448 0.00329 0.00268 0.00005 0.00533 107.024 588.518 112.014 1 0.01831 0.216 0.02442 0.00283 0.0026 0.00004 0.00494 107.316 128.101 110.793 1 0.01715 0.206 0.02215 0.00289 0.00277 0.00005 0.00516 105.007 122.611 110.707 1 0.02704 0.35 0.03999 0.00289 0.0027 0.00004 0.005 106.981 148.826 112.876 1 0.01636 0.197 0.02199 0.0028 0.00226 0.00004 0.00462 106.821 125.394 110.568 1 0.02455 0.263 0.03202 0.00332 0.00331 0.00006 0.00608 90.264 102.145 95.385 1 0.02139 0.361 0.03121 0.00576 0.00622 0.0001 0.01038 85.545 115.697 100.77 1 0.02876 0.364 0.04024 0.00415 0.00389 0.00007 0.00694 84.51 108.664 96.106 1 0.0219 0.296 0.03156 0.00371 0.00428 0.00007 0.00702 87.549 107.715 95.605 1 0.01751 0.216 0.02427 0.00348 0.00351 0.00006 0.00606 95.628 110.019 100.96 1 0.01552 0.202 0.02223 0.00258 0.00247 0.00004 0.00432 87.804 102.305 98.804 1 0.0351 0.435 0.04795 0.0042 0.00418 0.00004 0.00747 75.344 205.56 176.858 1 0.02877 0.331 0.03852 0.00244 0.0022 0.00002 0.00406 155.495 200.125 180.978 1 0.02784 0.327 0.03759 0.00194 0.00163 0.00002 0.00321 141.047 202.45 178.222 1 0.04683 0.58 0.06511 0.00312 0.00287 0.00003 0.0052 125.61 227.381 176.281 1 0.04802 0.65 0.06727 0.00254 0.00237 0.00003 0.00448 74.677 211.35 173.898 1 0.03455 0.442 0.04313 0.00419 0.00391 0.00004 0.00709 144.878 225.93 179.711 1 0.05114 0.634 0.0664 0.00453 0.00387 0.00004 0.00742 78.032 206.008 166.605 1 0.0569 0.772 0.07959 0.00227 0.00224 0.00003 0.00419 147.226 163.335 151.955 1 0.03051 0.383 0.0419 0.00256 0.0025 0.00003 0.00459 142.299 164.989 148.272 1 0.04398 0.637 0.05925 0.00226 0.00191 0.00003 0.00382 76.596 161.469 152.125 1 0.02764 0.307 0.03716 0.00196 0.00196 0.00002 0.00358 68.401 172.975 157.821 1 0.02571 0.283 0.03272 0.00197 0.00201 0.00002 0.00369 149.605 163.267 157.447 1 0.02809 0.307 0.03381 0.00184 0.00178 0.00002 0.00342 144.811 168.913 159.116 1 0.03088 0.342 0.03886 0.00623 0.00743 0.0001 0.0128 116.187 143.946 125.036 1 0.03908 0.422 0.04689 0.00655 0.00826 0.00011 0.01378 96.206 140.557 125.791 1 0.05783 0.659 0.06734 0.0099 0.01159 0.00015 0.01936 99.77 141.756 126.512 1 0.06196 0.891 0.09178 0.01522 0.02144 0.00026 0.03316 116.346 141.068 125.641 1 0.05174 0.584 0.0617 0.00909 0.00905 0.00012 0.01551 75.632 150.449 128.451 1 0.06023 0.93 0.09419 0.01628 0.01854 0.00022 0.03011 66.157 586.567 139.224 1 0.01009 0.107 0.01131 0.00136 0.00105 0.00002 0.00248 75.349 154.609 150.258 1 0.00871 0.094 0.0103 0.001 0.00076 0.00001 0.00183 128.621 160.267 154.003 1 0.01059 0.126 0.01346 0.00134 0.00116 0.00002 0.00257 133.608 160.368 149.689 1 0.00928 0.097 0.01064 0.00092 0.00068 0.00001 0.00168 144.148 163.736 155.078 1 0.01267 0.137 0.0145 0.00122 0.00115 0.00002 0.00258 133.751 157.765 151.884 1 0.00993 0.093 0.01024 0.00096 0.00075 0.00001 0.00174 132.857 157.339 151.989 1 0.02084 0.275 0.03044 0.00389 0.0045 0.00004 0.00766 80.297 208.9 193.03 1 0.01852 0.207 0.02286 0.00337 0.00371 0.00003 0.00621 89.686 223.982 200.714 1 0.01307 0.155 0.01761 0.00339 0.00368 0.00003 0.00609 199.02 220.315 208.519 1 0.01767 0.21 0.02378 0.00485 0.00502 0.00004 0.00841 189.621 221.3 204.664 1 0.01301 0.149 0.0168 0.0028 0.00321 0.00003 0.00534 185.258 232.706 210.141 1 0.01604 0.209 0.02105 0.00246 0.00302 0.00002 0.00495 92.02 226.355 206.327 1 0.01271 0.235 0.01843 0.00385 0.00404 0.00006 0.00856 69.085 492.892 151.872 1 0.01312 0.148 0.01458 0.00207 0.00214 0.00003 0.00476 71.948 442.557 158.219 1 0.01652 0.175 0.01725 0.00261 0.00244 0.00003 0.00555 79.032 450.247 170.756 1 0.01151 0.129 0.01279 0.00194 0.00157 0.00003 0.00462 82.063 442.824 178.285 1 0.01075 0.124 0.01299 0.00128 0.00127 0.00002 0.00404 93.978 233.481 217.116 1 0.01734 0.221 0.02008 0.00314 0.00241 0.00005 0.00581 88.251 479.697 128.94 1 0.01104 0.117 0.01169 0.00221 0.00209 0.00003 0.0046 83.961 215.293 176.824 1 0.0322 0.441 0.04479 0.00398 0.00406 0.00005 0.00704 83.34 203.522 138.19 1 0.01931 0.231 0.02503 0.00449 0.00506 0.00005 0.00842 79.187 197.173 182.018 1 0.0172 0.224 0.02343 0.00395 0.00403 0.00004 0.00694 79.82 195.107 156.239 1 0.01944 0.233 0.02362 0.00422 0.00414 0.00005 0.00733 80.637 198.109 145.174 1 0.02259 0.246 0.02791 0.00327 0.00294 0.00004 0.00544 81.114 197.238 138.145 1 0.02301 0.257 0.02857 0.00351 0.00368 0.00004 0.00638 79.512 198.966 166.888 1 0.00811 0.098 0.01033 0.00192 0.00214 0.00004 0.0044 109.216 127.533 119.031 1 0.00903 0.09 0.01022 0.00135 0.00116 0.00002 0.0027 105.667 126.632 120.078 1 0.01194 0.125 0.01412 0.00238 0.00269 0.00004 0.00492 100.209 128.143 120.289 1 0.0131 0.138 0.01516 0.00205 0.00224 0.00003 0.00407 104.773 125.306 120.256 1 0.00915 0.106 0.01201 0.0017 0.00169 0.00003 0.00346 86.795 125.213 119.056 1 0.00903 0.099 0.01043 0.00171 0.00168 0.00003 0.00331 109.836 123.723 118.747 1 0.03651 0.441 0.04932 0.00319 0.00291 0.00006 0.00589 93.105 112.777 106.516 1 0.03316 0.379 0.04128 0.00315 0.00244 0.00004 0.00494 105.554 127.611 110.453 1 0.0437 0.431 0.04879 0.00283 0.00219 0.00004 0.00451 107.816 133.344 113.4 1 0.04134 0.476 0.05279 0.00312 0.00257 0.00004 0.00502 100.673 130.27 113.166 1 0.04451 0.517 0.05643 0.0029 0.00238 0.00004 0.00472 104.095 126.609 112.239 1 0.0277 0.267 0.03026 0.00232 0.00181 0.00003 0.00381 109.815 131.731 116.15 1 0.02824 0.281 0.03273 0.00269 0.00232 0.00003 0.00571 79.543 268.796 170.368 1 0.04464 0.571 0.06725 0.00428 0.00428 0.00004 0.00757 91.802 253.792 208.083 1 0.0253 0.297 0.03527 0.00215 0.00182 0.00002 0.00376 148.691 219.29 198.458 1 0.01506 0.18 0.01997 0.00211 0.00189 0.00002 0.0037 86.232 231.508 202.805 1 0.02006 0.228 0.02662 0.00133 0.001 0.00001 0.00254 164.168 241.35 202.544 1 0.01909 0.225 0.02536 0.00188 0.00169 0.00002 0.00352 87.638 263.872 223.361 1 0.08808 0.821 0.08143 0.00946 0.00863 0.00009 0.01568 151.451 191.759 169.774 1 0.06359 0.618 0.0605 0.00819 0.00849 0.00008 0.01466 161.34 216.814 183.52 1 0.06824 0.722 0.07118 0.01027 0.00996 0.00009 0.01719 165.982 216.302 188.62 1 0.0646 0.833 0.0717 0.00963 0.00919 0.00008 0.01627 177.258 565.74 202.632 1 0.06259 0.784 0.0583 0.01154 0.01075 0.0001 0.01872 149.442 211.961 186.695 1 0.13778 1.302 0.11908 0.01958 0.018 0.00016 0.03107 168.793 224.429 192.818 1 0.08318 1.018 0.08684 0.01699 0.01568 0.00014 0.02714 174.478 233.099 198.116 1 0.02056 0.241 0.02534 0.00332 0.00388 0.00006 0.00684 98.25 139.644 121.345 1 0.02018 0.236 0.02682 0.003 0.00393 0.00006 0.00692 88.833 128.442 119.1 1 0.02402 0.276 0.03087 0.003 0.00356 0.00005 0.00647 95.654 127.349 117.87 1 0.01771 0.223 0.02293 0.00339 0.00415 0.00006 0.00727 94.794 142.369 122.336 1 0.02916 0.438 0.04912 0.00718 0.01117 0.00015 0.01813 100.757 134.209 117.963 1 0.02157 0.266 0.02852 0.00454 0.00593 0.00008 0.00975 97.543 154.284 126.144 1 0.03105 0.339 0.03235 0.00318 0.00321 0.00005 0.00605 112.173 138.752 127.93 1 0.04114 0.406 0.04009 0.00316 0.00299 0.00005 0.00581 77.022 124.393 114.238 1 0.02931 0.325 0.03273 0.00329 0.00352 0.00005 0.00619 107.802 135.738 115.322 1 0.03091 0.369 0.03658 0.0034 0.00366 0.00006 0.00651 91.121 126.778 114.554 1 0.01363 0.155 0.01756 0.00284 0.00291 0.00005 0.00519 97.527 131.669 112.15 1 0.02073 0.272 0.02814 0.00461 0.00493 0.00009 0.00907 85.902 142.83 102.273 0 0.01621 0.217 0.02448 0.00153 0.00154 0.00001 0.00277 102.137 244.663 236.2 0 0.00882 0.116 0.01242 0.00159 0.00173 0.00001 0.00303 229.256 243.709 237.323 0 0.01367 0.197 0.0203 0.00186 0.00205 0.00001 0.00339 237.303 264.919 260.105 0 0.01439 0.189 0.02177 0.00448 0.0049 0.00004 0.00803 90.794 217.627 197.569 0 0.01344 0.212 0.02018 0.00283 0.00316 0.00002 0.00517 219.783 245.135 240.301 0 0.01255 0.181 0.01897 0.00237 0.00279 0.00002 0.00451 239.17 272.21 244.99 0 0.0114 0.129 0.01358 0.0019 0.00166 0.00003 0.00355 105.715 133.374 112.547 0 0.01285 0.133 0.01484 0.002 0.0017 0.00003 0.00356 100.139 113.597 110.739 0 0.01148 0.133 0.01472 0.00203 0.00171 0.00003 0.00349 96.913 116.443 113.715 0 0.01318 0.145 0.01657 0.00218 0.00176 0.00003 0.00353 99.923 144.466 117.004 0 0.01133 0.137 0.01503 0.00199 0.0016 0.00003 0.00332 108.634 123.109 115.38 0 0.01331 0.155 0.01725 0.00213 0.00169 0.00003 0.00346 108.97 129.038 116.388 1 0.0123 0.132 0.01469 0.00162 0.00135 0.00002 0.00314 129.859 190.204 151.737 1 0.01309 0.142 0.01574 0.00186 0.00152 0.00002 0.00309 138.99 158.359 148.79 1 0.01263 0.131 0.0145 0.00231 0.00204 0.00003 0.00392 135.041 155.982 148.143 1 0.02148 0.237 0.02551 0.00233 0.00206 0.00003 0.00396 144.736 163.441 150.44 1 0.01559 0.163 0.01831 0.00235 0.00202 0.00003 0.00397 141.998 161.078 148.462 1 0.01666 0.198 0.02145 0.00198 0.00174 0.00002 0.00336 144.786 163.417 149.818 0 0.01949 0.171 0.01909 0.0027 0.00186 0.00004 0.00417 106.656 123.925 117.226 0 0.01756 0.163 0.01795 0.00346 0.0026 0.00005 0.00531 99.503 217.552 116.848 0 0.01691 0.136 0.01564 0.00192 0.00134 0.00003 0.00314 96.983 177.291 116.286 0 0.01491 0.154 0.0166 0.00263 0.00254 0.00004 0.00496 86.228 592.03 116.556 0 0.01144 0.117 0.013 0.00148 0.00115 0.00002 0.00267 94.246 581.289 116.342 0 0.01095 0.106 0.01185 0.00184 0.00146 0.00003 0.00327 86.647 119.167 114.563 0 0.01758 0.255 0.02574 0.00396 0.00412 0.00003 0.00694 78.228 262.707 201.774 0 0.02745 0.405 0.04087 0.00259 0.00263 0.00003 0.00459 94.261 230.978 174.188 0 0.01879 0.263 0.02751 0.00292 0.00331 0.00003 0.00564 89.488 253.017 209.516 0 0.01667 0.256 0.02308 0.00564 0.00624 0.00008 0.0136 74.287 240.005 174.688 0 0.01588 0.241 0.02296 0.0039 0.0037 0.00004 0.0074 74.904 396.961 198.764 0 0.01373 0.19 0.01884 0.00317 0.00295 0.00003 0.00567 77.973 260.277 214.289
Names of X columns:
status MDVP:APQ MDVP:Shimmer(dB) MDVP:Shimmer MDVP:PPQ MDVP:RAP MDVP:Jitter(Abs) MDVP:Jitter(%) MDVP:Flo(Hz) MDVP:Fhi(Hz) MDVP:Fo(Hz)
Type of Correlation
pearson
pearson
spearman
kendall
Chart options
Title:
R Code
panel.tau <- function(x, y, digits=2, prefix='', cex.cor) { usr <- par('usr'); on.exit(par(usr)) par(usr = c(0, 1, 0, 1)) rr <- cor.test(x, y, method=par1) r <- round(rr$p.value,2) txt <- format(c(r, 0.123456789), digits=digits)[1] txt <- paste(prefix, txt, sep='') if(missing(cex.cor)) cex <- 0.5/strwidth(txt) text(0.5, 0.5, txt, cex = cex) } panel.hist <- function(x, ...) { usr <- par('usr'); on.exit(par(usr)) par(usr = c(usr[1:2], 0, 1.5) ) h <- hist(x, plot = FALSE) breaks <- h$breaks; nB <- length(breaks) y <- h$counts; y <- y/max(y) rect(breaks[-nB], 0, breaks[-1], y, col='grey', ...) } bitmap(file='test1.png') pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main) dev.off() load(file='createtable') n <- length(y[,1]) n a<-table.start() a<-table.row.start(a) a<-table.element(a,paste('Correlations for all pairs of data series (method=',par1,')',sep=''),n+1,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,' ',header=TRUE) for (i in 1:n) { a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) } a<-table.row.end(a) for (i in 1:n) { a<-table.row.start(a) a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) for (j in 1:n) { r <- cor.test(y[i,],y[j,],method=par1) a<-table.element(a,round(r$estimate,3)) } a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable.tab') ncorrs <- (n*n -n)/2 mycorrs <- array(0, dim=c(10,3)) a<-table.start() a<-table.row.start(a) a<-table.element(a,'Correlations for all pairs of data series with p-values',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'pair',1,TRUE) a<-table.element(a,'Pearson r',1,TRUE) a<-table.element(a,'Spearman rho',1,TRUE) a<-table.element(a,'Kendall tau',1,TRUE) a<-table.row.end(a) cor.test(y[1,],y[2,],method=par1) for (i in 1:(n-1)) { for (j in (i+1):n) { a<-table.row.start(a) dum <- paste(dimnames(t(x))[[2]][i],';',dimnames(t(x))[[2]][j],sep='') a<-table.element(a,dum,header=TRUE) rp <- cor.test(y[i,],y[j,],method='pearson') a<-table.element(a,round(rp$estimate,4)) rs <- cor.test(y[i,],y[j,],method='spearman') a<-table.element(a,round(rs$estimate,4)) rk <- cor.test(y[i,],y[j,],method='kendall') a<-table.element(a,round(rk$estimate,4)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'p-value',header=T) a<-table.element(a,paste('(',round(rp$p.value,4),')',sep='')) a<-table.element(a,paste('(',round(rs$p.value,4),')',sep='')) a<-table.element(a,paste('(',round(rk$p.value,4),')',sep='')) a<-table.row.end(a) for (iii in 1:10) { iiid100 <- iii / 100 if (rp$p.value < iiid100) mycorrs[iii, 1] = mycorrs[iii, 1] + 1 if (rs$p.value < iiid100) mycorrs[iii, 2] = mycorrs[iii, 2] + 1 if (rk$p.value < iiid100) mycorrs[iii, 3] = mycorrs[iii, 3] + 1 } } } a<-table.end(a) table.save(a,file='mytable1.tab') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Meta Analysis of Correlation Tests',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Number of significant by total number of Correlations',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Type I error',1,TRUE) a<-table.element(a,'Pearson r',1,TRUE) a<-table.element(a,'Spearman rho',1,TRUE) a<-table.element(a,'Kendall tau',1,TRUE) a<-table.row.end(a) for (iii in 1:10) { iiid100 <- iii / 100 a<-table.row.start(a) a<-table.element(a,round(iiid100,2),header=T) a<-table.element(a,round(mycorrs[iii,1]/ncorrs,2)) a<-table.element(a,round(mycorrs[iii,2]/ncorrs,2)) a<-table.element(a,round(mycorrs[iii,3]/ncorrs,2)) a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable2.tab')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation