toxRing: Create an "xRing" Object

View source: R/toxRing.R

toxRingR Documentation

Create an "xRing" Object

Description

Converts a dataframe with X-ray microdensity profiles into an "xRing" object

Usage

toxRing(x, y = NULL, seriesName)

Arguments

x

a dataframe with X-ray microdensity profiles

y

a dataframe with the numerical values of the first and last year in columns. The individual series are specified as row names.

seriesName

the name of series from x and y to be used to produce the "xRing" object.

Value

an "xRing" object, an S3 class with the following elements:

profile.raw a vector with the input density profile

span first and last year

name a string giving the series name

See Also

toxRingList

Examples


data(PaPiRaw)
data(PaPiSpan)
PaPi.AFO1001a <- toxRing(PaPiRaw, PaPiSpan, seriesName = "AFO1001a")
class(PaPi.AFO1001a)


xRing documentation built on April 22, 2022, 5:05 p.m.

Related to toxRing in xRing...