EVOLUTION-MANAGER
Edit File: getModelData.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: Update model's dataset</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 getModelData {quantmod}"><tr><td>getModelData {quantmod}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> Update model's dataset </h2> <h3>Description</h3> <p>Update currently specified or built model with most recent data. </p> <h3>Usage</h3> <pre> getModelData(x, na.rm = TRUE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p> An object of class <code>quantmod</code> </p> </td></tr> <tr valign="top"><td><code>na.rm</code></td> <td> <p> Boolean. Remove NA values. Defaults to TRUE </p> </td></tr> </table> <h3>Details</h3> <p>Primarily used within specify model calls, <code>getModelData</code> is used to retrieve the appropriate underlying variables, and apply model specified transformations automatically. It can be used to also update a current model in memory with the most recent data. </p> <h3>Value</h3> <p>Returns object of class <code>quantmod.OHLC</code> </p> <h3>Author(s)</h3> <p> Jeffrey Ryan </p> <h3>See Also</h3> <p><code><a href="getSymbols.html">getSymbols</a></code> load data <code><a href="specifyModel.html">specifyModel</a></code> create model structure <code><a href="buildModel.html">buildModel</a></code> construct model <code><a href="modelData.html">modelData</a></code> extract model dataset </p> <h3>Examples</h3> <pre> ## Not run: my.model <- specifyModel(Next(OpCl(QQQQ)) ~ Lag(Cl(NDX),0:5)) getModelData(my.model) ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>quantmod</em> version 0.4.20 <a href="00Index.html">Index</a>]</div> </body></html>