The data set contains tree ring shape data for Abies_277_h400 sampled from Tateyama, central Japan. Its disk image and shape files can be download from https://www.sanchikanri.com/treering/Abies_277_h400.zip It's intended to demonstrate the structure and use of `TreeRingShape` class objects within the package.
TR
An object of class classTreeRingShape
of length 1.
# Access basic information about the TreeRingShape object
slotNames(TR)
#> [1] "P_filename" "P_id.tag" "P_ring.tag" "P" "P00"
#> [6] "n_id" "YR_P" "L_filename" "L_ring.tag" "L"
#> [11] "L_" "YR_L" "ln" "L2_filename" "L2"
#> [16] "n_YR"
str(TR)
#> Formal class 'classTreeRingShape' [package "TreeRingShape"] with 16 slots
#> ..@ P_filename : chr "Abies_277_h400_TreeRing_Points.shp"
#> ..@ P_id.tag : chr "id"
#> ..@ P_ring.tag : chr "ring"
#> ..@ P :'data.frame': 3773 obs. of 7 variables:
#> .. ..$ x : num [1:3773] -7117 -7100 -7068 -7047 -7028 ...
#> .. ..$ y : num [1:3773] -4837 -4828 -4802 -4786 -4773 ...
#> .. ..$ id : num [1:3773] 1 1 1 1 1 1 1 1 1 1 ...
#> .. ..$ yr : num [1:3773] 0 1 2 3 4 5 6 7 8 9 ...
#> .. ..$ rad: num [1:3773] -2.54 -2.54 -2.54 -2.55 -2.55 ...
#> .. ..$ deg: num [1:3773] -146 -146 -146 -146 -146 ...
#> .. ..$ r : num [1:3773] 8605 8586 8545 8519 8496 ...
#> .. ..- attr(*, "na.action")= 'omit' Named int [1:2] 3083 3323
#> .. .. ..- attr(*, "names")= chr [1:2] "3139" "3324"
#> ..@ P00 : num [1:2] 8533 -9080
#> ..@ n_id : int 122
#> ..@ YR_P : num [1:186] 0 1 2 3 4 5 6 7 8 9 ...
#> ..@ L_filename : chr "Abies_277_h400_TreeRing_Representative.shp"
#> ..@ L_ring.tag : chr "ring"
#> ..@ L :List of 38
#> .. ..$ 0 : num [1:1005, 1:2] -7116 -7152 -7191 -7214 -7248 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 1 : num [1:1830, 1:2] -7101 -7112 -7122 -7134 -7148 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 10 : num [1:1908, 1:2] -6829 -6846 -6864 -6891 -6916 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 23 : num [1:970, 1:2] 8987 8953 8915 8868 8831 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 28 : num [1:1189, 1:2] -6482 -6507 -6521 -6537 -6553 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 33 : num [1:863, 1:2] -6377 -6395 -6416 -6435 -6444 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 38 : num [1:885, 1:2] -6281 -6289 -6311 -6325 -6342 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 43 : num [1:1353, 1:2] -6219 -6232 -6245 -6255 -6264 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 48 : num [1:1034, 1:2] -6158 -6166 -6176 -6183 -6189 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 53 : num [1:877, 1:2] -6073 -6079 -6089 -6098 -6103 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 58 : num [1:513, 1:2] -5957 -5968 -5977 -5997 -6011 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 63 : num [1:339, 1:2] -5749 -5779 -5806 -5823 -5853 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 68 : num [1:868, 1:2] 6095 6118 6161 6214 6252 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 73 : num [1:736, 1:2] 5950 5988 6034 6087 6125 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 78 : num [1:509, 1:2] 5825 5867 5924 5976 6041 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 83 : num [1:400, 1:2] 5659 5737 5837 5919 5972 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 88 : num [1:190, 1:2] -4831 -4870 -4915 -4928 -4944 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 93 : num [1:222, 1:2] -4616 -4643 -4672 -4706 -4715 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 98 : num [1:164, 1:2] -4341 -4373 -4423 -4458 -4493 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 103: num [1:157, 1:2] -4094 -4135 -4178 -4210 -4243 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 108: num [1:168, 1:2] -3817 -3876 -3908 -3943 -3945 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 113: num [1:157, 1:2] -3503 -3567 -3599 -3631 -3648 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 118: num [1:156, 1:2] -3191 -3246 -3299 -3322 -3357 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 123: num [1:155, 1:2] -2911 -2967 -3013 -3037 -3075 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 128: num [1:140, 1:2] -2632 -2687 -2719 -2763 -2792 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 133: num [1:135, 1:2] -2408 -2460 -2509 -2553 -2562 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 138: num [1:126, 1:2] -2177 -2227 -2276 -2303 -2317 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 143: num [1:113, 1:2] -1971 -2035 -2070 -2105 -2113 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 148: num [1:99, 1:2] -1770 -1837 -1875 -1892 -1912 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 153: num [1:97, 1:2] -1557 -1615 -1659 -1676 -1679 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 158: num [1:88, 1:2] -1318 -1356 -1388 -1394 -1408 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 163: num [1:84, 1:2] -1106 -1155 -1173 -1190 -1205 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 168: num [1:74, 1:2] -919 -963 -983 -989 -1012 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 173: num [1:59, 1:2] -721 -774 -811 -843 -849 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 178: num [1:64, 1:2] -532 -574 -608 -634 -642 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 183: num [1:39, 1:2] -249 -287 -313 -324 -322 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 184: num [1:24, 1:2] -128 -149 -156 -150 -139 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> .. ..$ 185: num [1:20, 1:2] -71.6 -86.1 -92 -75.9 -52.6 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:2] "X" "Y"
#> ..@ L_ :'data.frame': 1 obs. of 1 variable:
#> .. ..$ X0: num 0
#> ..@ YR_L : num [1:38] 0 1 10 23 28 33 38 43 48 53 ...
#> ..@ ln : int 38
#> ..@ L2_filename: chr "Abies_277_h400_TreeRing.shp"
#> ..@ L2 :List of 1
#> .. ..$ : num 0
#> ..@ n_YR : int 186
# Plot the tree ring shape data
Lplot(TR@L)