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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
<!DOCTYPE html><html><head><title>R: Johnson & Johnson, $ _ ### ^ ~</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.css">
<script>
const macros = { "\\R": "\\textsf{R}", "\\mbox": "\\text", "\\code": "\\texttt"};
function processMathHTML() {
var l = document.getElementsByClassName('reqn');
for (let e of l) { katex.render(e.textContent, e, { throwOnError: false, macros }); }
return;
}</script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.js"
onload="processMathHTML();"></script>
<link rel="stylesheet" type="text/css" href="R.css">
</head><body><div class="container"><main>
<table style="width: 100%;"><tr><td>ver20</td><td style="text-align: right;">R Documentation</td></tr></table>
<h2>Johnson & Johnson, $ _ ### ^ ~</h2>
<h3>Description</h3>
<p>This is the description
</p>
<h3>Arguments</h3>
<table role = "presentation">
<tr><td><code id="foo">foo</code></td>
<td>
<p>item 1</p>
</td></tr>
<tr><td><code id="bar">bar</code></td>
<td>
<p>space, the item 2</p>
</td></tr>
<tr><td><code id="bah">bah</code></td>
<td>
<p>newline, then item 3</p>
</td></tr>
</table>
<h3>Details</h3>
<p><span class="rlang"><b>R</b></span> <span class="rlang"><b>R</b></span> \R <code class="reqn">\alpha\beta\Gamma</code>
</p>
<p>In code, all that needs to be escaped is percent, backslash and unpaired
braces: <code>% \ {</code>. Unescaped: <code>$ # _ ^ ~ < > |</code>, and as a
pair, <code>{...}</code>. If we escape: <code> \_ \# \$ \& { } \ </code>
And some backslashes: <code>\ \ \\ \\</code> should
give one, one, two, two backslashes.
</p>
<p>How about \ (that is backslash space) in text?
</p>
<p>Elsewhere, { } % \ need to be escaped, but not $ # _ ^ ~ < > | .
Let's try that again in <code>\samp</code>: ‘<span class="samp">⁠ { } % \ $ # _ ^ ~ < > |⁠</span>’.
And if we do escape: \$ \# \_ , and with three backslashes, \\#.
</p>
<p style="text-align: center;"><code class="reqn">a < b > c | d, x^y</code>
</p>
<p style="text-align: center;"><code class="reqn">\$k > \#k, x_y, x\_y</code>
</p>
<p>group-weighting from $[N_iP_i(1-P_i)]$
</p>
<pre>
% a
\
\% c
{
\{
</pre>
<h3>URLs and emails</h3>
<p>URLs need to be verbatim: <a href="testit%20~%5E_$#%3C%3E%7C">testit ~^_$#<>|</a>.
</p>
<p>Markus Kuhn, “ASCII and Unicode quotation marks”.
<a href="http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html">http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html</a>
</p>
<p>No escape is needed in <a href="mailto:Micah_Altman@harvard.edu">Micah_Altman@harvard.edu</a>
</p>
<h3>Examples</h3>
<pre><code class='language-R'>"\\r\\n"
</code></pre>
</main>
</div>
</body></html>
|