jSeq {SpecHelpers}R Documentation

Utility for Creating NMR Multiplets

Description

This function creates sequences, centered on zero, which correspond to odd or even NMR multiplets. Not intended for direct use. Called by plotNMRspec.

Usage

jSeq(length.out)

Arguments

length.out

An integer giving the number of peaks in the sequence.

Value

A vector describing the spacing of the parts of an NMR multiplet in terms of multiples of the coupling constant, J.

Author(s)

Bryan A. Hanson, DePauw University. hanson@depauw.edu

See Also

plotNMRspec which calls this function.

Examples


tmp <- jSeq(5) # a multiplet with an odd number of peaks
tmp
tmp <- jSeq(6) # an even number
tmp


[Package SpecHelpers version 0.2.7 Index]