[R] R equivalent of Beaton's Sweep algorithm

Michael Friendly friendly at yorku.ca
Mon Nov 29 21:29:39 CET 2010


I'm looking for an R equivalent of Beaton's (1964) Sweep algorithim for 
partial inversion of a
matrix by pivoting.

It implemented in SAS/IML as sweep(matrix, indices), described here
http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/langref_sect266.htm

and here for python
http://adorio-research.org/wordpress/?p=262

-- 
Michael Friendly     Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University      Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street    Web:   http://www.datavis.ca
Toronto, ONT  M3J 1P3 CANADA



More information about the R-help mailing list