TransfoParam_GR6J.Rd 1.58 KiB
% Generated by roxygen2 (4.0.1): do not edit by hand
\encoding{UTF-8}
\name{TransfoParam_GR6J}
\alias{TransfoParam_GR6J}
\title{Transformation of the parameters from the GR6J model}
\usage{
TransfoParam_GR6J(ParamIn, Direction)
\arguments{
\item{ParamIn}{[numeric] matrix of parameter sets (sets in line, parameter values in column)}
\item{Direction}{[character] direction of the transformation: use "RT" for Real->Transformed and "TR" for Transformed->Real}
\value{
\emph{ParamOut} [numeric] matrix of parameter sets (sets in line, parameter values in column)
\description{
Function which transforms model parameters (from real to transformed parameters and vice versa).
\examples{
require(airGR)
## transformation Real->Transformed for the GR6J model
    Xreal <- matrix( c( 221.41, -1.18,  27.11, 1.37, -0.18,  20.09,
                        347.23, -0.52,  60.34, 1.76,  0.02,  54.60,
                        854.06,  0.52, 148.41, 2.34,  0.22, 148.41),
                        ncol=6,byrow=TRUE)
    Xtran <- TransfoParam_GR6J(ParamIn=Xreal,Direction="RT")
## transformation Transformed->Real for the GR6J model
    Xtran <- matrix( c( +3.60, -1.00, +3.30, -9.10, -0.90, +3.00,
                        +3.90, -0.50, +4.10, -8.70, +0.10, +4.00,
                        +4.50, +0.50, +5.00, -8.10, +1.10, +5.00),
                        ncol=6,byrow=TRUE)
    Xreal <- TransfoParam_GR6J(ParamIn=Xtran,Direction="TR")
\author{
Laurent Coron (December 2013)
\seealso{
\code{\link{TransfoParam}}, \code{\link{TransfoParam_GR4J}}, \code{\link{TransfoParam_GR5J}}, \code{\link{TransfoParam_CemaNeige}}