View source: R/interval_format_conversions.R
| MM_to_ARRAY | R Documentation |
Convert MM format (paired _min/_max columns) to a
3-dimensional array [n, p, 2].
MM_to_ARRAY(data)
data |
A data.frame in MM format with paired |
A numeric array of dimension [n, p, 2] with dimnames.
Non-interval columns are excluded.
data(mushroom.int)
mm <- RSDA_to_MM(mushroom.int, RSDA = FALSE)
arr <- MM_to_ARRAY(mm)
dim(arr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.