powered by
Converts a dataframe with X-ray microdensity profiles into an "xRing" object
toxRing(x, y = NULL, seriesName)
a dataframe with X-ray microdensity profiles
a dataframe with the numerical values of the first and last year in columns. The individual series are specified as row names.
the name of series from x and y to be used to produce the "xRing" object.
an "xRing" object, an S3 class with the following elements:
profile.raw a vector with the input density profile
profile.raw
vector
span first and last year
span
name a string giving the series name
name
string
toxRingList
# NOT RUN { data(PaPiRaw) data(PaPiSpan) PaPi.AFO1001a <- toxRing(PaPiRaw, PaPiSpan, seriesName = "AFO1001a") class(PaPi.AFO1001a) # }
Run the code above in your browser using DataLab