bind {ir} | R Documentation |
Bind rows of ir
objects
Description
Bind rows of ir
objects
Usage
## S3 method for class 'ir'
rbind(..., deparse.level = 1)
## S3 method for class 'ir'
cbind(..., deparse.level = 1)
Arguments
... |
Objects to bind together. For |
deparse.level |
An integer value; see |
Value
An object of class ir
. rbind
returns all input
ir
objects combined row-wise. cbind
returns the input ir
object and the other objects combined column-wise.
Examples
# rbind
rbind(ir_sample_data, ir_sample_data)
rbind(ir_sample_data %>% dplyr::select(spectra),
ir_sample_data %>% dplyr::select(spectra))
# cbind
cbind(ir_sample_data, a = seq_len(nrow(ir_sample_data)))
[Package ir version 0.2.1 Index]