EVOLUTION-MANAGER
Edit File: Matrix.pdMat.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Assign Matrix to a pdMat or pdBlocked Object</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for Matrix.pdMat {nlme}"><tr><td>Matrix.pdMat {nlme}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Assign Matrix to a pdMat or pdBlocked Object</h2> <h3>Description</h3> <p>The positive-definite matrix represented by <code>object</code> is replaced by <code>value</code>. If the original matrix had row and/or column names, the corresponding names for <code>value</code> can either be <code>NULL</code>, or a permutation of the original names. </p> <h3>Usage</h3> <pre> ## S3 replacement method for class 'pdMat' matrix(object) <- value ## S3 replacement method for class 'pdBlocked' matrix(object) <- value </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>object</code></td> <td> <p>an object inheriting from class <code>"<a href="pdMat.html">pdMat</a>"</code>, representing a positive definite matrix.</p> </td></tr> <tr valign="top"><td><code>value</code></td> <td> <p>a matrix with the new values to be assigned to the positive-definite matrix represented by <code>object</code>. Must have the same dimensions as <code>as.matrix(object)</code>.</p> </td></tr> </table> <h3>Value</h3> <p>a <code>pdMat</code> or <code>pdBlocked</code> object similar to <code>object</code>, but with its coefficients modified to produce the matrix in <code>value</code>. </p> <h3>Author(s)</h3> <p>José Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a></p> <h3>See Also</h3> <p><code><a href="pdMat.html">pdMat</a></code>, <code>"<a href="Matrix.html">matrix<-</a>"</code> </p> <h3>Examples</h3> <pre> class(pd1 <- pdSymm(diag(3))) # "pdSymm" "pdMat" matrix(pd1) <- diag(1:3) pd1 </pre> <hr /><div style="text-align: center;">[Package <em>nlme</em> version 3.1-139 <a href="00Index.html">Index</a>]</div> </body></html>