EVOLUTION-MANAGER
Edit File: CLASS.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: Extract and Set .CLASS Attribute</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 CLASS {xts}"><tr><td>CLASS {xts}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> Extract and Set .CLASS Attribute </h2> <h3>Description</h3> <p>Simple extraction and replacement function to access <code>xts</code> .CLASS attribute. The .CLASS attribute is used by <code>reclass</code> to transform an <code>xts</code> object back to its original class. </p> <h3>Usage</h3> <pre> CLASS(x) CLASS(x) <- value </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p> an xts object </p> </td></tr> <tr valign="top"><td><code>value</code></td> <td> <p> the new .CLASS value to assign </p> </td></tr> </table> <h3>Details</h3> <p>It is not recommended that CLASS be called in daily use. While it may be possible to coerce objects to other classes than originally derived from, there is little, if any, chance that the <code>reclass</code> function will perform as expected. </p> <p>It is best to use the traditional <code>as</code> methods. </p> <h3>Value</h3> <p>Called for its side-effect of changing the .CLASS attribute </p> <h3>Author(s)</h3> <p> Jeffrey A. Ryan </p> <h3>See Also</h3> <p><code><a href="as.xts.html">as.xts</a></code>,<code><a href="as.xts.html">reclass</a></code> </p> <hr /><div style="text-align: center;">[Package <em>xts</em> version 0.12.2 <a href="00Index.html">Index</a>]</div> </body></html>