File: levarr.rd

package info (click to toggle)
r-cran-wavethresh 4.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,376 kB
  • sloc: ansic: 7,544; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (5)
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
29
30
\name{levarr}
\alias{levarr}
\title{Subsidiary routine that generates a particular permutation}
\usage{
levarr(v, levstodo)
}
\arguments{
\item{v}{the vector to permute}
\item{levstodo}{the number of levels associated with the current
	level in the object you wish to permute}
}
\description{
Not intended for casual user use. This function is used to provide
the partition to reorder \code{\link{wst.object}} into \code{\link{wd.object}}
(nondecimated time ordered) objects.
}
\details{
Description says all
}
\value{
A permutation of the \code{v} vector according to the number of levels
that need handling
}
\seealso{\code{\link{getarrvec}}, \code{\link{convert.wd}}, \code{\link{convert.wst}}}
\examples{
levarr(1:4, 3)
# [1] 1 3 2 4
}
\author{G P Nason}
\keyword{manip}