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 March 27, 2024, 5:34 a.m.