nmr_data {AlpsNMR} | R Documentation

## Set/Return the full spectra matrix

### Description

Set/Return the full spectra matrix

### Usage

    nmr_data(nmr_dataset, ...)

    nmr_data(nmr_dataset) <- value

    ## S3 replacement method for class 'nmr_dataset_1D'
    nmr_data(nmr_dataset) <- value

### Arguments

`nmr_dataset` | An object from the nmr_dataset_family to get the raw data from
`...` | Unused and left for future compatibility
`value` | A matrix

### Value

a matrix

The given nmr_dataset

### See Also

Other import/export functions: `Pipelines`, `files_to_rDolphin()`, `load_and_save_functions`, `nmr_meta_export()`, `nmr_read_bruker_fid()`, `nmr_read_samples()`, `nmr_zip_bruker_samples()`, `save_files_to_rDolphin()`, `save_profiling_output()`, `to_ChemoSpec()`

### Examples

    dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
    dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
    dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
    dataset_data <- nmr_data(dataset_1D)

[Package AlpsNMR version 3.0.6 Index]