TransfoParam_GR5J.Rd 1.49 KB
Newer Older
Delaigue Olivier's avatar
Delaigue Olivier committed
\encoding{UTF-8}
Delaigue Olivier's avatar
Delaigue Olivier committed
\name{TransfoParam_GR5J}
\alias{TransfoParam_GR5J}
\title{Transformation of the parameters of the GR5J model}
Delaigue Olivier's avatar
Delaigue Olivier committed
\usage{
TransfoParam_GR5J(ParamIn, Direction)
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\arguments{
\item{ParamIn}{[numeric] matrix of parameter sets (sets in line, parameter values in column)}

\item{Direction}{[character] direction of the transformation: use \code{"RT"} for Raw -> Transformed and \code{"TR"} for Transformed -> Raw}
Delaigue Olivier's avatar
Delaigue Olivier committed
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\value{
\emph{ParamOut} [numeric] matrix of parameter sets (sets in line, parameter values in column)
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\description{
Function which transforms model parameters of the GR5J model (from real to transformed parameters and vice versa).
Delaigue Olivier's avatar
Delaigue Olivier committed
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\examples{
## transformation Raw -> Transformed for the GR5J model
Xraw  <- matrix(c(+221.41, -2.65,  +27.11, +1.37, -0.76,
                  +347.23, -0.64,  +60.34, +1.76, +0.30,
                  +854.01, -0.10, +148.41, +2.34, +0.52),
                  ncol = 5, byrow = TRUE)
Xtran <- TransfoParam_GR5J(ParamIn = Xraw , Direction = "RT")
## transformation Transformed -> Raw for the GR5J model
Xtran <- matrix(c(+3.60, -1.70, +3.30, -9.10, -0.70,
                  +3.90, -0.60, +4.10, -8.70, +0.30,
                  +4.50, -0.10, +5.00, -8.10, +0.50),
                  ncol = 5, byrow = TRUE)
Xraw  <- TransfoParam_GR5J(ParamIn = Xtran, Direction = "TR")
Delaigue Olivier's avatar
Delaigue Olivier committed
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\author{
Laurent Coron
Delaigue Olivier's avatar
Delaigue Olivier committed
}
Delaigue Olivier's avatar
Delaigue Olivier committed
\seealso{
\code{\link{TransfoParam}}, \code{\link{TransfoParam_GR4J}}, \code{\link{TransfoParam_GR6J}}, \code{\link{TransfoParam_CemaNeige}}
}