set_dim: Set dimensions of an Object

set_dimR Documentation

Set dimensions of an Object

Description

Set dimensions of an Object

Usage

set_dim(x, dim)

Arguments

x

an R object, for example a matrix, array or data frame.

See Also

base::dim

Examples

x <- 1:12 
set_dim(x, c(3,4))

kongdd/Ipaper documentation built on Jan. 1, 2025, 5:38 a.m.