powered by
This function creates sequences, centered on zero, which correspond to odd or even NMR multiplets. Not intended for direct use. Called by plotNMRspec.
plotNMRspec
jSeq(length.out)
An integer giving the number of peaks in the sequence.
A vector describing the spacing of the parts of an NMR multiplet in terms of multiples of the coupling constant, J.
plotNMRspec which calls this function.
# NOT RUN { tmp <- jSeq(5) # a multiplet with an odd number of peaks tmp tmp <- jSeq(6) # an even number tmp # }
Run the code above in your browser using DataLab