Using subsets

It is quite common to want to run a linear model on only a subset of the data. This can be quite easily accomplished in mincLm using an extra subsetting specification:


\begin{Schunk}
\begin{Sinput}
> vs <- mincLm(jacobians ~ Genotype, gf, Sex == ''...
...007_distortion_corrected-log-determinant-fwhm0.5.mnc''
\end{Soutput}\end{Schunk}

This is the same linear model command as executed above, but this time using only the male mice for the computation.



Jason Lerch 2008-02-17