rebin: Rebins the data to ensure a minimum offset between scans

Description Usage Arguments Examples

View source: R/PROCESS-rebin.R

Description

Rebins the data to ensure a minimum offset between scans

Usage

1
2
rebin(data, min_offset, method = c("discard", "average_before",
  "average_after"))

Arguments

data

2D NMR data

min_offset

Minimum offset between adjacent scans. Scans too close together will be dealt with according to the method option.

method

One of the following:

discard

Scans that are not sufficiently offset from the previous scan are discarded.

average_before

Scans that are not sufficiently offset from the previous scan are averaged with the previous scan.

average_after

Scans that are not sufficiently offset from the previous scan are averaged with the next scan.

Examples

1
2
rebin(data, 10)
rebin(data, 10, "average_before")

jmstrat/NMR.Utils documentation built on July 14, 2019, 11:35 p.m.