loglm1.html
来自「本程序是基于linux系统下c++代码」· HTML 代码 · 共 87 行
HTML
87 行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Fit Log-Linear Models by Iterative Proportional Scaling – Internal function</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 loglm1 {MASS}"><tr><td>loglm1 {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Fit Log-Linear Models by Iterative Proportional Scaling – Internal function</h2>
<h3>Description</h3>
<p>
<code>loglm1</code> is an internal function used by <code><a href="loglm.html">loglm</a></code>.
It is a generic function dispatching on the <code>data</code> argument.
</p>
<h3>Usage</h3>
<pre>
loglm1(formula, data, ...)
## S3 method for class 'xtabs':
loglm1(formula, data, ...)
## S3 method for class 'data.frame':
loglm1(formula, data, ...)
## Default S3 method:
loglm1(formula, data, start = rep(1, length(data)), fitted = FALSE,
keep.frequencies = fitted, param = TRUE, eps = 1/10,
iter = 40, print = FALSE, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>formula</code></td>
<td>
A linear model formula specifying the log-linear model.
See <code><a href="loglm.html">loglm</a></code> for its interpretation.</td></tr>
<tr valign="top"><td><code>data</code></td>
<td>
Numeric array or data frame. In the first case it specifies the
array of frequencies; in then second it provides the data frame
from which the variables occurring in the formula are
preferentially obtained in the usual way.
<br>
This argument may also be the result of a call to <code><a href="../../stats/html/xtabs.html">xtabs</a></code>.
</td></tr>
<tr valign="top"><td><code>start, param, eps, iter, print</code></td>
<td>
Arguments passed to
<code><a href="../../stats/html/loglin.html">loglin</a></code>.</td></tr>
<tr valign="top"><td><code>fitted</code></td>
<td>
logical: should the fitted values be returned?</td></tr>
<tr valign="top"><td><code>keep.frequencies</code></td>
<td>
If <code>TRUE</code> specifies that the (possibly constructed) array of
frequencies is to be retained as part of the fitted model object. The
default action is to use the same value as that used for <code>fitted</code>.
</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
arguments passed to the default method.</td></tr>
</table>
<h3>Value</h3>
<p>
An object of class <code>"loglm"</code>.</p>
<h3>See Also</h3>
<p>
<code><a href="loglm.html">loglm</a></code>, <code><a href="../../stats/html/loglin.html">loglin</a></code>
</p>
<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 + =
减小字号Ctrl + -
显示快捷键?