View source: R/func_signal_transform.R
func_signal_transform | R Documentation |
Internal, auxiliary functions
func_signal_transform(data, signal)
data |
is a data.frame |
signal |
is a character that indicates columns of data that include the labels of input |
A data.frame that is a copy of data provided with signal column transformed to factor class. If signal has been numeric initially, additional column is created "signal_RAW" that is an exact copy of original column
data=data_example1
data1=SLEMI:::func_signal_transform(data,"signal")
data$signal=as.character(data$signal)
data2=SLEMI:::func_signal_transform(data,"signal")
data$signal=as.numeric(data$signal)
data3=SLEMI:::func_signal_transform(data,"signal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.