| <!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 type="text/javascript"> |
| const macros = { "\\R": "\\textsf{R}", "\\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"> |
| |
| <table 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> |
| <tr valign="top"><td><code>foo</code></td> |
| <td> |
| <p>item 1</p> |
| </td></tr> |
| <tr valign="top"><td><code>bar</code></td> |
| <td> |
| <p>space, the item 2</p> |
| </td></tr> |
| <tr valign="top"><td><code>bah</code></td> |
| <td> |
| <p>newline, then item 3</p> |
| </td></tr> |
| </table> |
| |
| |
| <h3>Details</h3> |
| |
| <p><span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> <span style="font-family: Courier New, Courier; color: #666666;"><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> |
| |
| |
| </div> |
| </body></html> |