redim {multbxxc}R Documentation

New Dimensions

Description

Write new dimension vector while keeping the old memory

Usage

redim(x, di)

Arguments

x

A numeric array

di

An integer vector, new dimensions

Value

None

Examples

a=matrix(as.double(1:12), 6, 2)
redim(a, c(3, 4))
dim(a)
# [1] 3 4

[Package multbxxc version 1.0.2 Index]