toxRing {xRing} | R 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
Examples
data(PaPiRaw)
data(PaPiSpan)
PaPi.AFO1001a <- toxRing(PaPiRaw, PaPiSpan, seriesName = "AFO1001a")
class(PaPi.AFO1001a)
[Package xRing version 0.1.1 Index]