Enlarge.Rd 715 Bytes
Newer Older
aho's avatar
aho committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Enlarge.R
\name{Enlarge}
\alias{Enlarge}
aho's avatar
aho committed
\title{Extends The Number Of Dimensions of A Matrix}
aho's avatar
aho committed
\item{var}{Matrix to be extended.}

\item{numdims}{Output number of dimensions.}
aho's avatar
aho committed
Output number of dimensions.
}
\description{
Extends the number of dimensions of var to numdims (the added dimensions 
have length 1).
data <- array(1, c(2, 2, 3))
print(dim(Enlarge(data, 5)))
aho's avatar
aho committed
 0.1  -  2011-03  (V. Guemas)  -  Original code\cr
 1.0  -  2013-09  (N. Manubens)  -  Formatting to R CRAN\cr
 1.1  -  2015-03  (N. Manubens)  -  Improved\cr