/
allCoef.html
72 lines (45 loc) · 1.65 KB
/
allCoef.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Extract Coefficients from a Set of Objects</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 allCoef"><tr><td>allCoef</td><td align="right">R Documentation</td></tr></table>
<h2>Extract Coefficients from a Set of Objects</h2>
<h3>Description</h3>
<p>The extractor function is applied to each object in <code>...</code>, with
the result being converted to a vector. A <code>map</code> attribute is
included to indicate which pieces of the returned vector correspond to
the original objects in <code>dots</code>.
</p>
<h3>Usage</h3>
<pre>
allCoef(..., extract)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>...</code></td>
<td>
<p>objects to which <code>extract</code> will be applied. Generally
these will be model components, such as <code>corStruct</code> and
<code>varFunc</code> objects.</p>
</td></tr>
<tr valign="top"><td><code>extract</code></td>
<td>
<p>an optional extractor function. Defaults to <code>coef</code>.</p>
</td></tr>
</table>
<h3>Value</h3>
<p>a vector with all elements, generally coefficients, obtained by
applying <code>extract</code> to the objects in <code>...</code>.
</p>
<h3>Author(s)</h3>
<p>Jose' Pinheiro and Douglas Bates</p>
<h3>See Also</h3>
<p><code>lmeStruct</code>,<code>nlmeStruct</code></p>
<h3>Examples</h3>
<pre>
cs1 <- corAR1(0.1)
vf1 <- varPower(0.5)
allCoef(cs1, vf1)
</pre>
</body></html>