Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Dec 3, 2019
1 parent c3c52b4 commit 9627127
Show file tree
Hide file tree
Showing 2 changed files with 418 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 01-reproducible-to-interactive/03-rmd-with-htmlwidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -2775,8 +2775,8 @@ <h2>Appendix 1</h2>
<p>The raw data is available below.</p>
<pre class="r"><code># Use DT, an htmlwidget, to create an interactive table
DT::datatable(adverse, options = list(pageLength = 5))</code></pre>
<div id="htmlwidget-b0cda0a580bc983da02f" style="width:100%;height:auto;" class="datatables html-widget"></div>
<script type="application/json" data-for="htmlwidget-b0cda0a580bc983da02f">{"x":{"filter":"none","data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"],["DRUG INEFFECTIVE","DYSPNOEA","PYREXIA","FATIGUE","DIARRHOEA","NAUSEA","ARTHRALGIA","PAIN","PNEUMONIA","OFF LABEL USE","DRUG INEFFECTIVE","PAIN","FATIGUE","NAUSEA","ARTHRALGIA","HEADACHE","DYSPNOEA","DIARRHOEA","RHEUMATOID ARTHRITIS","MALAISE"],[2720,1740,1654,1639,1411,1404,1381,1339,1319,1278,6869,4735,4324,4260,4143,4047,3765,3196,3115,2708],["male","male","male","male","male","male","male","male","male","male","female","female","female","female","female","female","female","female","female","female"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>term<\/th>\n <th>count<\/th>\n <th>gender<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"pageLength":5,"columnDefs":[{"className":"dt-right","targets":2},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[5,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
<div id="htmlwidget-a5f46a56be59b18572a9" style="width:100%;height:auto;" class="datatables html-widget"></div>
<script type="application/json" data-for="htmlwidget-a5f46a56be59b18572a9">{"x":{"filter":"none","data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"],["DRUG INEFFECTIVE","DYSPNOEA","PYREXIA","FATIGUE","DIARRHOEA","NAUSEA","ARTHRALGIA","PAIN","PNEUMONIA","OFF LABEL USE","DRUG INEFFECTIVE","PAIN","FATIGUE","NAUSEA","ARTHRALGIA","HEADACHE","DYSPNOEA","DIARRHOEA","RHEUMATOID ARTHRITIS","MALAISE"],[2720,1740,1654,1639,1411,1404,1381,1339,1319,1278,6869,4735,4324,4260,4143,4047,3765,3196,3115,2708],["male","male","male","male","male","male","male","male","male","male","female","female","female","female","female","female","female","female","female","female"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>term<\/th>\n <th>count<\/th>\n <th>gender<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"pageLength":5,"columnDefs":[{"className":"dt-right","targets":2},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[5,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
</div>


Expand Down
Loading

0 comments on commit 9627127

Please sign in to comment.