The R Project SVN R

Rev

Rev 50818 | Rev 82308 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 50818 Rev 57370
Line 1... Line 1...
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><title>R: Johnson &amp; Johnson,  $ _  ### ^ ~</title>
2
<html><head><title>R: Johnson &amp; Johnson, $ _ ### ^ ~</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
<link rel="stylesheet" type="text/css" href="R.css">
4
<link rel="stylesheet" type="text/css" href="R.css">
5
</head><body>
5
</head><body>
6
 
6
 
7
<table width="100%" summary="page for ver20 {}"><tr><td>ver20 {}</td><td align="right">R Documentation</td></tr></table>
7
<table width="100%" summary="page for ver20"><tr><td>ver20</td><td align="right">R Documentation</td></tr></table>
8
 
8
 
9
<h2>Johnson &amp; Johnson,  $ _  ### ^ ~</h2>
9
<h2>Johnson &amp; Johnson,  $ _  ### ^ ~</h2>
10
 
-
 
11
 
10
 
12
<h3>Description</h3>
11
<h3>Description</h3>
13
 
12
 
14
<p>
13
 
15
This is the description
14
<p>This is the description
16
</p>
15
</p>
17
 
16
 
18
 
17
 
19
<h3>Arguments</h3>
18
<h3>Arguments</h3>
-
 
19
 
20
 
20
 
21
<table summary="R argblock">
21
<table summary="R argblock">
22
<tr valign="top"><td><code>foo</code></td>
22
<tr valign="top"><td><code>foo</code></td>
23
<td>
23
<td>
-
 
24
<p>item 1</p>
24
item 1</td></tr>
25
</td></tr>
25
<tr valign="top"><td><code>bar</code></td>
26
<tr valign="top"><td><code>bar</code></td>
26
<td>
27
<td>
27
space, the item 2</td></tr>
28
<p>space, the item 2</p>
-
 
29
</td></tr>
28
<tr valign="top"><td><code>bah</code></td>
30
<tr valign="top"><td><code>bah</code></td>
29
<td>
31
<td>
30
newline, then item 3</td></tr>
32
<p>newline, then item 3</p>
-
 
33
</td></tr>
31
</table>
34
</table>
32
 
35
 
33
 
36
 
34
<h3>Details</h3>
37
<h3>Details</h3>
35
 
38
 
36
<p>
39
 
37
<font face="Courier New,Courier" color="#666666"><b>R</b></font> <font face="Courier New,Courier" color="#666666"><b>R</b></font> \R <i>&alpha;&beta;&Gamma;</i>
40
<p><font face="Courier New,Courier" color="#666666"><b>R</b></font> <font face="Courier New,Courier" color="#666666"><b>R</b></font> \R <i>&alpha;&beta;&Gamma;</i>
38
</p>
41
</p>
39
<p>
-
 
40
In code, all that needs to be escaped is percent, backslash and unpaired
42
<p>In code, all that needs to be escaped is percent, backslash and unpaired
41
braces: <code>% \ {</code>. Unescaped: <code>$ # _ ^ ~ &lt; &gt; |</code>, and as a
43
braces: <code>% \ {</code>. Unescaped: <code>$ # _ ^ ~ &lt; &gt; |</code>, and as a
42
pair, <code>{...}</code>.  If we escape: <code> \_ \# \$ \&amp; { } \ </code>
44
pair, <code>{...}</code>.  If we escape: <code> \_ \# \$ \&amp; { } \ </code>
43
And some backslashes: <code>\ \ \\ \\</code> should
45
And some backslashes: <code>\ \ \\ \\</code> should
44
give one, one, two, two backslashes.
46
give one, one, two, two backslashes.
45
</p>
47
</p>
46
<p>
-
 
47
How about \ (that is backslash space) in text?
48
<p>How about \ (that is backslash space) in text?
48
</p>
49
</p>
49
<p>
-
 
50
Elsewhere, { } % \ need to be escaped, but not $ # _ ^ ~ &lt; &gt; | .
50
<p>Elsewhere, { } % \ need to be escaped, but not $ # _ ^ ~ &lt; &gt; | .
51
Let's try that again in <code>\samp</code>: <span class="samp"> { } % \ $ # _ ^ ~ &lt; &gt; |</span>.
51
Let's try that again in <code>\samp</code>: <span class="samp"> { } % \ $ # _ ^ ~ &lt; &gt; |</span>.
52
And if we do escape: \$ \# \_ , and with three backslashes, \\#.
52
And if we do escape: \$ \# \_ , and with three backslashes, \\#.
53
</p>
53
</p>
54
<p>
-
 
55
</p><p align="center"><i>a &lt; b &gt; c | d, x^y</i></p><p>
54
<p align="center"><i>a &lt; b &gt; c | d, x^y</i></p>
-
 
55
 
56
</p><p align="center"><i>\$k &gt; \#k, x_y, x\_y</i></p><p>
56
<p align="center"><i>\$k &gt; \#k, x_y, x\_y</i></p>
57
</p>
-
 
58
<p>
57
 
59
 
58
 
60
group-weighting from $[N_iP_i(1-P_i)]$
59
<p>group-weighting from $[N_iP_i(1-P_i)]$
61
</p>
60
</p>
62
<p>
-
 
63
<pre>
61
<PRE>
64
    % a
62
    % a
65
    \
63
    \
66
    \% c
64
    \% c
67
    {
65
    {
68
    \{
66
    \{
69
  </pre>
67
  </PRE>
70
</p>
-
 
71
 
68
 
72
 
69
 
73
<h3>URLs and emails</h3>
70
<h3>URLs and emails</h3>
74
 
71
 
75
<p>
72
 
76
URLs need to be verbatim:  <a href="testit ~^_$#<>|">testit ~^_$#<>|</a>.
73
<p>URLs need to be verbatim:  <a href="testit ~^_$#<>|">testit ~^_$#&lt;&gt;|</a>.
77
</p>
74
</p>
78
<p>
-
 
79
Markus Kuhn, &ldquo;ASCII and Unicode quotation marks&rdquo;.
75
<p>Markus Kuhn, &ldquo;ASCII and Unicode quotation marks&rdquo;.
80
<a href="http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html">http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html</a>
76
<a href="http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html">http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html</a>
81
</p>
77
</p>
82
<p>
-
 
83
No escape is needed in <a href="mailto:Micah_Altman@harvard.edu">Micah_Altman@harvard.edu</a>
78
<p>No escape is needed in <a href="mailto:Micah_Altman@harvard.edu">Micah_Altman@harvard.edu</a>
84
</p>
79
</p>
85
 
80
 
86
 
81
 
87
<h3>Examples</h3>
82
<h3>Examples</h3>
88
 
83
 
89
<pre>
84
<pre>
90
"\\r\\n"
85
"\\r\\n"
91
</pre>
86
</pre>
92
 
87
 
93
<hr><div align="center">[]</div>
-
 
-
 
88
 
94
</body></html>
89
</body></html>