Skip to contents

Print an mcgf object.

Usage

# S3 method for mcgf
print(x, attr = ".Data", ...)

Arguments

x

An mcgf object.

attr

Attribute to be printed.

...

Optional arguments to print methods.

Value

No return value, called for side effects.

Examples

data(sim1)
sim1_mcgf <- mcgf(sim1$data, dists = sim1$dists)
#> `time` is not provided, assuming rows are equally spaced temporally.
print(sim1_mcgf, "dists")
#> $h
#>            1         2        3         4         5        6         7        8
#> 1    0.00000  98.99464 176.8391 131.79368 204.02308 174.0853 108.82652 358.4253
#> 2   98.99464   0.00000 127.7755  35.05241 105.02946 210.9198  51.66746 269.0730
#> 3  176.83906 127.77551   0.0000 111.02266 147.41939 154.6130  79.10180 331.5889
#> 4  131.79368  35.05241 111.0227   0.00000  74.25330 220.3507  51.29749 249.9205
#> 5  204.02308 105.02946 147.4194  74.25330   0.00000 284.1334 119.56849 185.7971
#> 6  174.08527 210.91976 154.6130 220.35068 284.13338   0.0000 169.05841 468.5712
#> 7  108.82652  51.66746  79.1018  51.29749 119.56849 169.0584   0.00000 300.5069
#> 8  358.42528 269.07297 331.5889 249.92050 185.79708 468.5712 300.50692   0.0000
#> 9   58.84811  50.06221 163.7443  85.08873 151.49063 209.7202  85.00274 299.5832
#> 10 188.93344  93.87864 172.9512  74.62843  42.06907 294.9215 125.87486 176.1201
#>            9        10
#> 1   58.84811 188.93344
#> 2   50.06221  93.87864
#> 3  163.74430 172.95118
#> 4   85.08873  74.62843
#> 5  151.49063  42.06907
#> 6  209.72017 294.92151
#> 7   85.00274 125.87486
#> 8  299.58323 176.12008
#> 9    0.00000 131.73308
#> 10 131.73308   0.00000
#> 
#> $h1
#>             1         2          3          4          5          6          7
#> 1    0.000000 -23.57826 -151.27253 -45.042563 -49.238476 -162.43281  -72.91133
#> 2   23.578263   0.00000 -127.69426 -21.464300 -25.660213 -138.85455  -49.33306
#> 3  151.272525 127.69426    0.00000 106.229962 102.034049  -11.16028   78.36120
#> 4   45.042563  21.46430 -106.22996   0.000000  -4.195913 -117.39025  -27.86877
#> 5   49.238476  25.66021 -102.03405   4.195913   0.000000 -113.19433  -23.67285
#> 6  162.432810 138.85455   11.16028 117.390247 113.194334    0.00000   89.52148
#> 7   72.911328  49.33306  -78.36120  27.868765  23.672852  -89.52148    0.00000
#> 8  -50.296545 -73.87481 -201.56907 -95.339108 -99.535021 -212.72935 -123.20787
#> 9   -9.021416 -32.59968 -160.29394 -54.063979 -58.259892 -171.45423  -81.93274
#> 10   8.195956 -15.38231 -143.07657 -36.846607 -41.042520 -154.23685  -64.71537
#>            8          9         10
#> 1   50.29655   9.021416  -8.195956
#> 2   73.87481  32.599679  15.382308
#> 3  201.56907 160.293941 143.076570
#> 4   95.33911  54.063979  36.846607
#> 5   99.53502  58.259892  41.042520
#> 6  212.72935 171.454226 154.236854
#> 7  123.20787  81.932744  64.715372
#> 8    0.00000 -41.275129 -58.492501
#> 9   41.27513   0.000000 -17.217372
#> 10  58.49250  17.217372   0.000000
#> 
#> $h2
#>             1          2          3          4           5         6          7
#> 1     0.00000   96.14574   91.58972  123.85774  197.992394  -62.6200   80.79077
#> 2   -96.14574    0.00000   -4.55602   27.71200  101.846653 -158.7657  -15.35497
#> 3   -91.58972    4.55602    0.00000   32.26802  106.402673 -154.2097  -10.79895
#> 4  -123.85774  -27.71200  -32.26802    0.00000   74.134650 -186.4777  -43.06697
#> 5  -197.99239 -101.84665 -106.40267  -74.13465    0.000000 -260.6124 -117.20162
#> 6    62.62000  158.76574  154.20973  186.47775  260.612398    0.0000  143.41078
#> 7   -80.79077   15.35497   10.79895   43.06697  117.201620 -143.4108    0.00000
#> 8  -354.87876 -258.73302 -263.28904 -231.02102 -156.886369 -417.4988 -274.08799
#> 9   -58.15250   37.99324   33.43722   65.70524  139.839891 -120.7725   22.63827
#> 10 -188.75559  -92.60985  -97.16587  -64.89784    9.236805 -251.3756 -107.96481
#>           8          9          10
#> 1  354.8788   58.15250  188.755588
#> 2  258.7330  -37.99324   92.609848
#> 3  263.2890  -33.43722   97.165868
#> 4  231.0210  -65.70524   64.897845
#> 5  156.8864 -139.83989   -9.236805
#> 6  417.4988  120.77251  251.375593
#> 7  274.0880  -22.63827  107.964815
#> 8    0.0000 -296.72626 -166.123175
#> 9  296.7263    0.00000  130.603086
#> 10 166.1232 -130.60309    0.000000
#>