Learn R Programming

aidar (version 1.0.5)

getHisto1D: retrieves a given 1D histogram by it's name from the given file and returns it as a data.frame

Description

retrieves a given 1D histogram by it's name from the given file and returns it as a data.frame

Usage

getHisto1D(fileName, histoName)

Arguments

fileName

name of the AIDA file

histoName

name of the AIDA 1D histogram to be returned as a data.frame

Examples

Run this code
# NOT RUN {
histoFile = system.file("extdata", "histos.xml.gz", package="aidar")
h1 = getHisto1D(histoFile, '1')
# }

Run the code above in your browser using DataLab