\HeaderA{type2Exten}{Convert Method Type to Tree Extension}{type2Exten}
\keyword{manip}{type2Exten}
\begin{Description}\relax
Convert Method Type to Tree Extension.
\end{Description}
\begin{Usage}
\begin{verbatim}
type2Exten(type, datatype)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{type}] method type.
\item[\code{datatype}] data type.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
For every \code{datatype} different methods, i.e. algorithms exist which can be applied.
Valid \code{datatype}s are \sQuote{preprocess} and \sQuote{normation}.

For \code{datatype} \sQuote{preprocess} the following methods can be applied:\\
\Tabular{ll}{
\code{mean}: & trimmed mean \\
\code{median}:  & median \\
\code{quantile}:  & quantile \\
\code{tukeybiweight}:  & tukey biweight \\
\code{medianpolish}:  & median polish 
}

For \code{datatype} \sQuote{normation} the following methods can be applied:\\
\Tabular{ll}{
\code{mean}: & trimmed mean \\
\code{median}:  & median \\
\code{quantile}:  & quantile \\
\code{lowess}:  & lowess \\
\code{supsmu}:  & supsmu 
}

The tree extensions are described in \code{\LinkA{validTreetype}{validTreetype}}.
\end{Details}
\begin{Value}
A \code{character} with the correct tree extension.
\end{Value}
\begin{Author}\relax
Christian Stratowa
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{getDatatype}{getDatatype}}, \code{\LinkA{validTreetype}{validTreetype}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
type2Exten("quantile","preprocess")
type2Exten("medianpolish","preprocess")
type2Exten("supsmu","normation")
\end{ExampleCode}
\end{Examples}

