jSeq: Utility for Creating NMR Multiplets

Description Usage Arguments Value Author(s) See Also Examples

View source: R/jSeq.R

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

1
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

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

SpecHelpers documentation built on May 2, 2019, 11:01 a.m.