Extract_Elements: Extract Elements

Description Usage Arguments Details See Also Examples

Description

Extract single elements of a dataset or of a set, i.e. a single list element of a cube.

Usage

1
2
3
4
5
6
7
getHeader(object)

## S4 method for signature 'aquap_data'
getHeader(object)

## S4 method for signature 'aquap_set'
getHeader(object)

Arguments

object

Either a dataset as produced by gfd or a set (see examples).

Details

Function getHeader will return only the header of a dataset without the NIR-data.

See Also

Other Extract Elements: getWavelengths,aquap_data-method, getcd, getcm, siWlg, siWl

Examples

1
2
3
4
5
6
7
8
## Not run: 
fd <- gfd()
cube <- gdmm(fd)
header <- getHeader(fd)
header1 <- getHeader(cube[[1]]) # gets the header from the first dataset in 
# the cube.

## End(Not run)

bpollner/aquap2 documentation built on Jan. 30, 2019, 9:08 a.m.