View source: R/nmr_exclude_region.R
nmr_exclude_region | R Documentation |
Excludes a given region (for instance to remove the water peak)
nmr_exclude_region(samples, exclude = list(water = c(4.7, 5)))
## S3 method for class 'nmr_dataset_1D'
nmr_exclude_region(samples, exclude = list(water = c(4.7, 5)))
samples |
An object |
exclude |
A list with regions to be removed Typically:
|
The same object, with the regions excluded
Other basic functions:
nmr_normalize()
nmr_dataset <- nmr_dataset_load(system.file("extdata", "nmr_dataset.rds", package = "AlpsNMR"))
exclude_regions <- list(water = c(5.1, 4.5))
nmr_dataset <- nmr_exclude_region(nmr_dataset, exclude = exclude_regions)
nmr_dataset <- nmr_dataset_load(system.file("extdata", "nmr_dataset.rds", package = "AlpsNMR"))
exclude_regions <- list(water = c(5.1, 4.5))
nmr_dataset <- nmr_exclude_region(nmr_dataset, exclude = exclude_regions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.