swh:1:snp:cba907cabb90d910ce06526e8e65110f84d1288a
Raw File
Tip revision: f01abd0472ad5b8c0738280481e4a1b4d39e8832 authored by Matthias Templ on 11 January 2017, 23:50:05 UTC
version 2.0.3
Tip revision: f01abd0
orthbasis.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/orthbasis.R
\name{orthbasis}
\alias{orthbasis}
\title{Orthonormal basis}
\usage{
orthbasis(D)
}
\arguments{
\item{D}{number of parts (variables)}
}
\value{
the orthonormal basis.
}
\description{
Orthonormal basis from cenLR transformed data to pivotCoord transformated data.
}
\details{
For the chosen balances for \dQuote{pivotCoord}, this is the orthonormal basis
that transfers the data from centered logratio to isometric logratio.
}
\examples{

data(expenditures)
V <- orthbasis(ncol(expenditures))
xcen <- cenLR(expenditures)$x.clr
xi <- as.matrix(xcen) \%*\% V$V
xi2 <- pivotCoord(expenditures)
# xi and xi2 include equal values

}
\author{
Karel Hron, Matthias Templ
}
\seealso{
\code{\link{pivotCoord}}, \code{\link{cenLR}}
}
\keyword{manip}

back to top