\HeaderA{bwss}{Between and within sums of squares}{bwss}
\keyword{models}{bwss}
\begin{Description}\relax
Sums of squares between and within groups. Allows for missing values.
\end{Description}
\begin{Usage}
\begin{verbatim}bwss(x,group)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a numeric vector giving the responses.
\item[\code{group}] a vector or factor giving the grouping variable.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This is equivalent to one-way analysis of variance.
\end{Details}
\begin{Value}
A list with components
\begin{ldescription}
\item[\code{bss}] sums of squares between the group means.
\item[\code{wss}] sums of squares within the groups.
\item[\code{bdf}] degrees of freedom corresponding to \code{bss}.
\item[\code{wdf}] degrees of freedom corresponding to \code{wss}.
\end{ldescription}
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{bwss.matrix}{bwss.matrix}}
\end{SeeAlso}


