\Header{asOneSidedFormula}{Convert to One-Sided Formula}
\keyword{models}{asOneSidedFormula}
\begin{Description}\relax
Names, expressions, numeric values, and character strings are converted to
one-sided formulas. If \code{object} is a formula, it must be
one-sided, in which case it is returned unaltered.\end{Description}
\begin{Usage}
\begin{verbatim}
asOneSidedFormula(object)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] a one-sided formula, an expression, a numeric value, or a
character string.
\end{ldescription}
\end{Arguments}
\begin{Value}
a one-sided formula representing \code{object}\end{Value}
\begin{Author}\relax
Jose Pinheiro and Douglas Bates\end{Author}
\begin{SeeAlso}\relax
\code{\Link{formula}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
asOneSidedFormula("age")
asOneSidedFormula(~ age)
\end{ExampleCode}
\end{Examples}

