data.frame
.read.ids(rwl, stc = c(3, 2, 3))
data.frame
with column one named rwl
.data.frame
can be built manually. See below for
format.
The function attempts to convert the tree and core substrings to
integers. When this succeeds, the converted values are copied to the
output without modification. When non-integer substrings are
observed, each unique tree substring is assigned an integer value in
the range 1 to n, where n is the number of unique tree substrings.
The same applies to cores within a tree. Substrings are sorted before
assigning the numeric ids.
The order of columns in rwl
does not affect the tree and core
ids assigned to each series.rwi.stats
, read.rwl
data(ca533)
read.ids(ca533, stc=c(3, 2, 3))
Run the code above in your browser using DataLab