

    \filetitle{addgroup}{Add measurement variable or shock grouping to grouping object}{grouping/addgroup}

	\paragraph{Syntax}

\begin{verbatim}
G = addgroup(G,GroupName,GroupContents)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{G} {[} grouping {]} - Grouping object.
\item
  \texttt{GroupName} {[} char {]} - Group name.
\item
  \texttt{GroupContents} {[} char \textbar{} cell {]} - Names of shocks
  or measurement variables to be included in the new group;
  \texttt{GroupContents} can also be regular expressions.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
  \texttt{G} {[} grouping {]} - Grouping object.
\end{itemize}

\paragraph{Description}

\paragraph{Example}


