unbracket: Remove inner-most dimension

View source: R/sym_symbol.R

unbracketR Documentation

Remove inner-most dimension

Description

Remove inner-most dimension

Usage

unbracket(x)

Arguments

x

Array symbol to collapse dimension from

Examples

if (has_sympy()) {
  x <- as_sym(paste0("x", 1:3))
  y <- as_sym("y")
  l <- list(x, y)
  l
  unbracket(l)
}


caracas documentation built on June 22, 2024, 10:59 a.m.