ReadShapefile_TreeRingPoints {TreeRingShape}R Documentation

Read a shape file of Tree Ring Points ( P : radial input and correction points)

Description

Read a shape file of Tree Ring Points ( P : radial input and correction points)

Usage

ReadShapefile_TreeRingPoints(
  filename = "Abies_277_h400_TreeRing_Points.shp",
  id.tag = "id",
  ring.tag = "ring"
)

Arguments

filename

a file name of Tree ring points (shape file )

id.tag

string, column name of id (attribute table)

ring.tag

string, column name of ring years (0 is cambium layer)

Value

a data frame of TreeRingPoints (radial input and correction points)

Examples


.dir <- system.file("shp",package = "TreeRingShape")
.file <- "Abies_277_h400_TreeRing_Points.shp"
filename <- paste(.dir,.file,sep="/")
sf.P<-sf::st_read(filename)
plot(sf.P)
ReadShapefile_TreeRingPoints(filename,id.tag='id',ring.tag='ring')

[Package TreeRingShape version 3.0.3 Index]