File: undim.Rd

package info (click to toggle)
r-cran-listenv 0.8.0+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 308 kB
  • sloc: sh: 14; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/undim.R
\name{undim}
\alias{undim}
\alias{undim.default}
\alias{undim.listenv}
\title{Removes the dimension of an object}
\usage{
undim(x, ...)
}
\arguments{
\item{x}{An object with or without dimensions}

\item{...}{Not used.}
}
\value{
The object with the dimension attribute removed.
}
\description{
Removes the dimension of an object
}
\details{
This function does \code{attr(x, "dim") <- NULL}, which automatically also does
\code{attr(x, "dimnames") <- NULL}.
However, other attributes such as names attributes are preserved,
which is not the case if one do \code{dim(x) <- NULL}.
}
\keyword{internal}