📄 renumerate.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Convert a Formula Transformed by 'denumerate'</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>
<table width="100%" summary="page for renumerate {MASS}"><tr><td>renumerate {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Convert a Formula Transformed by 'denumerate'</h2>
<h3>Description</h3>
<p>
<code><a href="denumerate.html">denumerate</a></code> converts a formula written using the conventions of
<code><a href="loglm.html">loglm</a></code> into one that <code><a href="../../stats/html/terms.html">terms</a></code> is able to process. <code>renumerate</code>
converts it back again to a form like the original.
</p>
<h3>Usage</h3>
<pre>
renumerate(x)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
A formula, normally as modified by <code><a href="denumerate.html">denumerate</a></code>.
</td></tr>
</table>
<h3>Details</h3>
<p>
This is an inverse function to <code><a href="denumerate.html">denumerate</a></code>. It is only needed
since <code><a href="../../stats/html/terms.html">terms</a></code> returns an expanded form of the original formula
where the non-marginal terms are exposed. This expanded form is
mapped back into a form corresponding to the one that the user
originally supplied.
</p>
<h3>Value</h3>
<p>
A formula where all variables with names of the form <code>.vn</code>, where
<code>n</code> is an integer, converted to numbers, <code>n</code>, as allowed by the
formula conventions of <code><a href="loglm.html">loglm</a></code>.</p>
<h3>See Also</h3>
<p>
<code><a href="denumerate.html">denumerate</a></code>
</p>
<h3>Examples</h3>
<pre>
denumerate(~(1+2+3)^3 + a/b)
## ~ (.v1 + .v2 + .v3)^3 + a/b
renumerate(.Last.value)
## ~ (1 + 2 + 3)^3 + a/b
</pre>
<hr><div align="center">[Package <em>MASS</em> version 7.2-44 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -