Learn R Programming

hadron (version 3.1.2)

addConfIndex2cf: add a configuration index to an cf object

Description

add a configuration number index to cf object.

Usage

addConfIndex2cf(cf, conf.index)

Arguments

cf

and object of class cf

conf.index

a configuration index of the same length as cf.

Value

Returns an object of class cf equal to the input but with element conf.index added

See Also

cf

Examples

Run this code
# NOT RUN {
data(samplecf)
conf.index <- c(1:1018)
samplecf <- addConfIndex2cf(samplecf, conf.index=conf.index)

# }

Run the code above in your browser using DataLab