Learn R Programming

xRing (version 0.1.2)

toxRingList: Create a "xRingList" Object

Description

Converts a dataframe with X-ray microdensity profiles in an "xRingList" object

Usage

toxRingList(x, y = NULL)

Value

an "xRingList" object, an S3 class which list membera are "xRing" objects containing:

profile.raw a vector with the input density profile

span first and last year

name a string giving the series name

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. By default is NULL

See Also

toxRing

Examples

Run this code

data(PaPiRaw)
data(PaPiSpan)
PaPi <- toxRingList(PaPiRaw, PaPiSpan)
class(PaPi)

Run the code above in your browser using DataLab