[R-sig-ME] Square root of a matrix

Asaf Weinstein asafw.at.wharton at gmail.com
Mon Jan 26 01:22:33 CET 2015


Thanks a lot Ben!

On 25 January 2015 at 11:05, Ben Bolker <bbolker at gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 15-01-22 07:10 PM, Asaf Weinstein wrote:
> > Hi,
> >
> > If Q is a positive-definite matrix, what is the most popular
> > function to obtain a matrix B s.t. B'B = Q? I found pdFactor() (in
> > the nlme package) and just wanted to know if there are more basic
> > functions for this purpose.
> >
> > Thank you! Asaf
>
>   ?chol, which can be found in base R and extended (via new methods
> for chol, and ?Cholesky) in Matrix ... ?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEcBAEBAgAGBQJUxRRjAAoJEOCV5YRblxUHTZsH/1hBQsUYf8NXeYYAJRbXKbnD
> fe5HMKLPVWnn1TziPLPSHB9hfFPD7esh8+YhVN6oVyE/iALeKwknbDcEOKAGwnI6
> iM2TdV2wNLTnneFydPfUw9GpHYZ0RLT2mJ+rdLwEAUfTF7B/UVoF8vMV/P/ERCCo
> wdo4F532+3QDhDaH11wgHoidnLT0Ns0g11gm1/QrdrHVnHVZTh7usYqguDMim1WN
> oicnF4PsxSpMrFHQL9dUSPxBRgSM4oqBK9eCCQpi7UhCL8nzwbPAujsNPkoUsIFe
> H8CaDncupIYYmMoQo0DKvxlPQgb1N+ylnRC12v1Ljf/JlUSnNKB4CjVkuUfPfIA=
> =s0a+
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list