extenPart: Get Extension of Tree Names

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/utils.R

Description

Get the extension(s) of (tree) names.

Usage

1
extenPart(names, as.unique=TRUE)

Arguments

names

vector of names.

as.unique

if TRUE return only unique extensions.

Details

Extracts the extension part of names, e.g.of tree names of treename.treetype stored in a ROOT file.

Value

A vector of (unique) extensions.

Author(s)

Christian Stratowa

See Also

namePart

Examples

1
2
3
names <- c("TestA1.int", "TestA2.int")
extenPart(names)
extenPart(names, as.unique=FALSE)

xps documentation built on Nov. 8, 2020, 6 p.m.