TreeRingShape {TreeRingShape}R Documentation

Construct a object (TR) of classTreeRingShape

Description

Construct a object (TR) of classTreeRingShape

Usage

TreeRingShape(
  P_filename,
  L_filename,
  L2_filename,
  P_id.tag = "id",
  P_ring.tag = "ring",
  L_ring.tag = "ring"
)

Arguments

P_filename

file name of shape file (P) for tree ring points (without extention)

L_filename

file name of shape file (L) for tree ring lines (without extention)

L2_filename

file name of shape file (L2) for tree ring lines interpolated (without extention)

P_id.tag

column name of id in shape file (P), default is 'id'

P_ring.tag

column name of ring no.(ordinaly year,outermost=0) in shape file (L), default is 'ring'

L_ring.tag

column name of ring no.(ordinaly year,outermost=0) in shape file (L), default is 'ring'

Value

generated new object from classTreeRingShape

Examples



test_TreeRingShape <- function(){
oldwd <- getwd()
on.exit(setwd(oldwd))
setwd(system.file("shp",package = "TreeRingShape"))

TR.<-TreeRingShape(
P_filename='Abies_277_h400_TreeRing_Points.shp',
L_filename='Abies_277_h400_TreeRing_Representative.shp',
L2_filename='Abies_277_h400_TreeRing.shp',
P_id.tag='id',P_ring.tag='ring',
L_ring.tag='ring')

 slotNames(TR.)
 str(TR.)
 Lplot(TR.@L2)

}

 test_TreeRingShape()


[Package TreeRingShape version 3.0.3 Index]