Description Usage Arguments Value Note See Also Examples
The 'signal'-list column gets unnested. This function can be seen as the
inversion of mbte_nest_signals
.
1 |
x |
A |
A tbl_mbte
with the following columns:
'desc' is a placeholder for all the columns except the 'fits'- column. Those columns can be seen as descriptive columns.
The time column (originally in the 'signal'-column).
The signal-values (before in the 'signal'-list-column).
The 'fits'-column will be removed, if it is present.
raw_signals
(dataset used in examples)
Other unnesting functions: mbte_unnest_fits
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(dplyr, warn.conflicts = FALSE)
data(raw_signals)
raw_signals
# create a tbl_mbte to nest
tbl <- raw_signals %>%
group_by(mv) %>%
new_tbl_mbte(time = "t", value = "value")
# nest signals and unnest them (should be equal to `tbl`)
nested <- mbte_nest_signals(tbl)
unnested <- mbte_unnest_signals(nested)
all.equal(unnested, tbl) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.