MM_to_ARRAY: MM to ARRAY

View source: R/interval_format_conversions.R

MM_to_ARRAYR Documentation

MM to ARRAY

Description

Convert MM format (paired _min/_max columns) to a 3-dimensional array [n, p, 2].

Usage

MM_to_ARRAY(data)

Arguments

data

A data.frame in MM format with paired _min and _max columns.

Value

A numeric array of dimension [n, p, 2] with dimnames. Non-interval columns are excluded.

Examples

data(mushroom.int)
mm <- RSDA_to_MM(mushroom.int, RSDA = FALSE)
arr <- MM_to_ARRAY(mm)
dim(arr)

dataSDA documentation built on June 12, 2026, 9:06 a.m.