[R] Replicating the SPlus "twoway" function

Richard M. Heiberger rmh at temple.edu
Tue May 24 03:04:29 CEST 2016


In the stats package
?medpolish


On Mon, May 23, 2016 at 5:37 PM, Taylor, Z Todd <todd.taylor at pnnl.gov> wrote:
> Is there a package somewhere that replicates the SPlus twoway() function?  That function models a 2-d data matrix, which may contain NAs, as
>
> x[i,j] = grand.effect + row.effect[i] + col.effect[j] + resid[i,j]
>
> I'm sort of resurrecting some ancient S code and it would be handy if a twoway() function were available in R.  I've googled and RSiteSearch'd, but maybe there's something out there that goes by another name?
>
> Thanks.
>
> --Todd
> --
> Z. Todd Taylor
> Pacific Northwest National Laboratory
> Why are they called 'speed' bumps?
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list