-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLesson5_rmd.html
875 lines (781 loc) · 85.7 KB
/
Lesson5_rmd.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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<title>Using RMarkdown for reproducible and neat documents</title>
<script src="site_libs/jquery-1.12.4/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/lumen.min.css" rel="stylesheet" />
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<script src="site_libs/navigation-1.1/codefolding.js"></script>
<script src="site_libs/htmlwidgets-1.5.2/htmlwidgets.js"></script>
<script src="site_libs/plotly-binding-4.9.2.1/plotly.js"></script>
<script src="site_libs/typedarray-0.1/typedarray.min.js"></script>
<link href="site_libs/crosstalk-1.1.0.1/css/crosstalk.css" rel="stylesheet" />
<script src="site_libs/crosstalk-1.1.0.1/js/crosstalk.min.js"></script>
<link href="site_libs/plotly-htmlwidgets-css-1.52.2/plotly-htmlwidgets.css" rel="stylesheet" />
<script src="site_libs/plotly-main-1.52.2/plotly-latest.min.js"></script>
<link href="site_libs/datatables-css-0.0.0/datatables-crosstalk.css" rel="stylesheet" />
<script src="site_libs/datatables-binding-0.13/datatables.js"></script>
<link href="site_libs/dt-core-1.10.20/css/jquery.dataTables.min.css" rel="stylesheet" />
<link href="site_libs/dt-core-1.10.20/css/jquery.dataTables.extra.css" rel="stylesheet" />
<script src="site_libs/dt-core-1.10.20/js/jquery.dataTables.min.js"></script>
<link href="site_libs/nouislider-7.0.10/jquery.nouislider.min.css" rel="stylesheet" />
<script src="site_libs/nouislider-7.0.10/jquery.nouislider.min.js"></script>
<link href="site_libs/selectize-0.12.0/selectize.bootstrap3.css" rel="stylesheet" />
<script src="site_libs/selectize-0.12.0/selectize.min.js"></script>
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css" data-origin="pandoc">
div.sourceCode { overflow-x: auto; }
table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
margin: 0; padding: 0; vertical-align: baseline; border: none; }
table.sourceCode { width: 100%; line-height: 100%; background-color: #f8f8f8; }
td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }
td.sourceCode { padding-left: 5px; }
pre, code { background-color: #f8f8f8; }
code > span.kw { color: #204a87; font-weight: bold; } /* Keyword */
code > span.dt { color: #204a87; } /* DataType */
code > span.dv { color: #0000cf; } /* DecVal */
code > span.bn { color: #0000cf; } /* BaseN */
code > span.fl { color: #0000cf; } /* Float */
code > span.ch { color: #4e9a06; } /* Char */
code > span.st { color: #4e9a06; } /* String */
code > span.co { color: #8f5902; font-style: italic; } /* Comment */
code > span.ot { color: #8f5902; } /* Other */
code > span.al { color: #ef2929; } /* Alert */
code > span.fu { color: #000000; } /* Function */
code > span.er { color: #a40000; font-weight: bold; } /* Error */
code > span.wa { color: #8f5902; font-weight: bold; font-style: italic; } /* Warning */
code > span.cn { color: #000000; } /* Constant */
code > span.sc { color: #000000; } /* SpecialChar */
code > span.vs { color: #4e9a06; } /* VerbatimString */
code > span.ss { color: #4e9a06; } /* SpecialString */
code > span.im { } /* Import */
code > span.va { color: #000000; } /* Variable */
code > span.cf { color: #204a87; font-weight: bold; } /* ControlFlow */
code > span.op { color: #ce5c00; font-weight: bold; } /* Operator */
code > span.pp { color: #8f5902; font-style: italic; } /* Preprocessor */
code > span.ex { } /* Extension */
code > span.at { color: #c4a000; } /* Attribute */
code > span.do { color: #8f5902; font-weight: bold; font-style: italic; } /* Documentation */
code > span.an { color: #8f5902; font-weight: bold; font-style: italic; } /* Annotation */
code > span.cv { color: #8f5902; font-weight: bold; font-style: italic; } /* CommentVar */
code > span.in { color: #8f5902; font-weight: bold; font-style: italic; } /* Information */
.sourceCode .row {
width: 100%;
}
.sourceCode {
overflow-x: auto;
}
.code-folding-btn {
margin-right: -30px;
}
</style>
<script>
// apply pandoc div.sourceCode style to pre.sourceCode instead
(function() {
var sheets = document.styleSheets;
for (var i = 0; i < sheets.length; i++) {
if (sheets[i].ownerNode.dataset["origin"] !== "pandoc") continue;
try { var rules = sheets[i].cssRules; } catch (e) { continue; }
for (var j = 0; j < rules.length; j++) {
var rule = rules[j];
// check if there is a div.sourceCode rule
if (rule.type !== rule.STYLE_RULE || rule.selectorText !== "div.sourceCode") continue;
var style = rule.style.cssText;
// check if color or background-color is set
if (rule.style.color === '' && rule.style.backgroundColor === '') continue;
// replace div.sourceCode by a pre.sourceCode rule
sheets[i].deleteRule(j);
sheets[i].insertRule('pre.sourceCode{' + style + '}', j);
}
}
})();
</script>
<style type="text/css">
pre:not([class]) {
background-color: white;
}
</style>
<style type="text/css">
h1 {
font-size: 34px;
}
h1.title {
font-size: 38px;
}
h2 {
font-size: 30px;
}
h3 {
font-size: 24px;
}
h4 {
font-size: 18px;
}
h5 {
font-size: 16px;
}
h6 {
font-size: 12px;
}
.table th:not([align]) {
text-align: left;
}
</style>
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
code {
color: inherit;
background-color: rgba(0, 0, 0, 0.04);
}
img {
max-width:100%;
}
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
summary {
display: list-item;
}
</style>
<style type="text/css">
/* padding for bootstrap navbar */
body {
padding-top: 54px;
padding-bottom: 40px;
}
/* offset scroll position for anchor links (for fixed navbar) */
.section h1 {
padding-top: 59px;
margin-top: -59px;
}
.section h2 {
padding-top: 59px;
margin-top: -59px;
}
.section h3 {
padding-top: 59px;
margin-top: -59px;
}
.section h4 {
padding-top: 59px;
margin-top: -59px;
}
.section h5 {
padding-top: 59px;
margin-top: -59px;
}
.section h6 {
padding-top: 59px;
margin-top: -59px;
}
.dropdown-submenu {
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #cccccc;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: #ffffff;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
border-radius: 6px 0 6px 6px;
}
</style>
<script>
// manage active state of menu based on current page
$(document).ready(function () {
// active menu anchor
href = window.location.pathname
href = href.substr(href.lastIndexOf('/') + 1)
if (href === "")
href = "index.html";
var menuAnchor = $('a[href="' + href + '"]');
// mark it active
menuAnchor.parent().addClass('active');
// if it's got a parent navbar menu mark it active as well
menuAnchor.closest('li.dropdown').addClass('active');
});
</script>
<!-- tabsets -->
<style type="text/css">
.tabset-dropdown > .nav-tabs {
display: inline-table;
max-height: 500px;
min-height: 44px;
overflow-y: auto;
background: white;
border: 1px solid #ddd;
border-radius: 4px;
}
.tabset-dropdown > .nav-tabs > li.active:before {
content: "";
font-family: 'Glyphicons Halflings';
display: inline-block;
padding: 10px;
border-right: 1px solid #ddd;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
content: "";
border: none;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
content: "";
font-family: 'Glyphicons Halflings';
display: inline-block;
padding: 10px;
border-right: 1px solid #ddd;
}
.tabset-dropdown > .nav-tabs > li.active {
display: block;
}
.tabset-dropdown > .nav-tabs > li > a,
.tabset-dropdown > .nav-tabs > li > a:focus,
.tabset-dropdown > .nav-tabs > li > a:hover {
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
display: block;
float: none;
}
.tabset-dropdown > .nav-tabs > li {
display: none;
}
</style>
<!-- code folding -->
<style type="text/css">
.code-folding-btn { margin-bottom: 4px; }
</style>
<style type="text/css">
#TOC {
margin: 25px 0px 20px 0px;
}
@media (max-width: 768px) {
#TOC {
position: relative;
width: 100%;
}
}
@media print {
.toc-content {
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
float: right;
}
}
.toc-content {
padding-left: 30px;
padding-right: 40px;
}
div.main-container {
max-width: 1200px;
}
div.tocify {
width: 20%;
max-width: 260px;
max-height: 85%;
}
@media (min-width: 768px) and (max-width: 991px) {
div.tocify {
width: 25%;
}
}
@media (max-width: 767px) {
div.tocify {
width: 100%;
max-width: none;
}
}
.tocify ul, .tocify li {
line-height: 20px;
}
.tocify-subheader .tocify-item {
font-size: 0.90em;
}
.tocify .list-group-item {
border-radius: 0px;
}
</style>
</head>
<body>
<div class="container-fluid main-container">
<!-- setup 3col/9col grid for toc_float and main content -->
<div class="row-fluid">
<div class="col-xs-12 col-sm-4 col-md-3">
<div id="TOC" class="tocify">
</div>
</div>
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">R Coding Club</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="Lesson1.html">Lesson 1</a>
</li>
<li>
<a href="Lesson2.html">Lesson 2</a>
</li>
<li>
<a href="Lesson3.html">Lesson 3</a>
</li>
<li>
<a href="Lesson4.html">Lesson 4</a>
</li>
<li>
<a href="Lesson5.html">Lesson 5</a>
</li>
<li>
<a href="Lesson6.html">Lesson 6</a>
</li>
<li>
<a href="Lesson7.html">Lesson 7</a>
</li>
<li>
<a href="Lesson8.html">Lesson 8</a>
</li>
<li>
<a href="Lesson9.html">Lesson 9</a>
</li>
<li>
<a href="Lesson10.html">Lesson 10</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/darwinanddavis/EmoRyCodingClub">
<span class="fa fa-github"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
<div class="fluid-row" id="header">
<div class="btn-group pull-right">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span>Code</span> <span class="caret"></span></button>
<ul class="dropdown-menu" style="min-width: 50px;">
<li><a id="rmd-show-all-code" href="#">Show All Code</a></li>
<li><a id="rmd-hide-all-code" href="#">Hide All Code</a></li>
</ul>
</div>
<h1 class="title toc-ignore">Using RMarkdown for reproducible and neat documents</h1>
<h4 class="author"><div style="white-space: pre-line;">Your name here
Your affiliation here</div></h4>
</div>
<!-- this enables math encoding in the knitted documents -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all"} } });
</script>
<p>Date: 2021-12-06<br />
R version: 3.5.0<br />
*Corresponding author: Your email here</p>
<div id="overview" class="section level1">
<h1>Overview</h1>
<p>This document showcases how to create and use <code>RMarkdown</code> documents.</p>
</div>
<div id="you-can-easily-create-headings.-this-is-a-first-order-heading." class="section level1">
<h1>You can easily create headings. This is a first order heading.</h1>
<div id="then-move-down-in-heading-order-size" class="section level2">
<h2>Then move down in heading order size</h2>
<div id="like-this-subheading" class="section level3">
<h3>Like this subheading</h3>
<div id="and-this-fourth-order-heading" class="section level4">
<h4>And this fourth order heading</h4>
<!-- To create a new line of text, insert two spaces after every line in the `Rmd` file, then hit _ENTER_. -->
<p>You can write in <strong>bold</strong> and <em>italicised</em> text (in <strong>two</strong> different <em>ways</em>).</p>
<p>You can write in-line <code>code</code> if you want to differentiate between when you are typing normally or highlighting <code>model parameters</code>, for example.</p>
<p>Equations like this <span class="math inline">\(t' = \gamma(t - vx/c^{2})\)</span>, to appear within text lines.</p>
<p>Create links to your <a href="https://github.com/darwinanddavis">website</a>.</p>
<p>Make footnotes<a href="#fn1" class="footnoteRef" id="fnref1"><sup>1</sup></a>.</p>
<p>Insert line breaks <br> between text like this, which works best in large <br> slabs of text</p>
<p>Insert a horizontal line break using five asterisks ('*****')</p>
<!-- horizontal line -->
<!-- ***** -->
<p>The raw Rmd file also has the code for inserting user comments. <!-- To do this, place the cursor on the text and type 'Cmd/Ctl + Shift + C' --></p>
<p>(There is also a page break here. Best seen in PDF. Check the raw Rmd file to see the code)</p>
<!-- page break -->
</div>
</div>
</div>
<div id="define-equations" class="section level2">
<h2>Define equations</h2>
<p>Accordingly, we write the eigenfunction of a spinless particle as the superposition of plane wave states of momentum (<span class="math inline">\(\pi\)</span>) and energy (<span class="math inline">\(E_{j}\)</span>) having amplitudes <span class="math inline">\(a(\pi,E_{j})\)</span> (from <a href="https://www.academia.edu/33763545/Concise_derivation_of_the_Schr%C3%B6dinger_equation">[1]</a>).</p>
<p><span class="math display">\[
\phi n(r,t) =
\sum_{i, j} a(p_{i},E_{j})
e^{
\frac{i}
{h}
(p_{i} \cdot r - E_{j}t)
}
\]</span> <!-- !!! uncheck the below to include images in HTML and word renders --> <!-- !!! pdf render code is found in the below commmit --> <!-- ## Embed images/gifs: --></p>
<!-- ![Great power is pretty boring](https://raw.githubusercontent.com/darwinanddavis/EmoRyCodingClub/master/img/opm.jpg). -->
<!-- code for img in pdf: commit L5 rmd external test final - cmd line pdf/word knit -->
</div>
<div id="create-alter-and-embed-plots" class="section level2">
<h2>Create, alter, and embed plots</h2>
<p><img src="Lesson5_rmd_files/figure-html/unnamed-chunk-1-1.png" width="672" /></p>
<p>Figure 1. Example of a stock plot embedded into a PDF from RMarkdown.</p>
</div>
<div id="show-plots-with-associated-code" class="section level2">
<h2>Show plots with associated code</h2>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">suppressWarnings</span>(<span class="kw">require</span>(viridis))
bm <-<span class="st"> </span><span class="dv">1</span>
<span class="kw">par</span>(<span class="dt">las =</span> <span class="dv">1</span>, <span class="dt">bty =</span> <span class="st">"n"</span>)
xlim <-<span class="st"> </span><span class="kw">c</span>(<span class="op">-</span><span class="dv">5</span>, <span class="dv">5</span>)
ylim <-<span class="st"> </span><span class="kw">c</span>(<span class="dv">0</span>, <span class="fl">0.5</span>)
<span class="kw">set.seed</span>(<span class="dv">12</span>)
N <-<span class="st"> </span><span class="dv">2000</span>
rr <-<span class="st"> </span><span class="kw">rnorm</span>(N)
rr2 <-<span class="st"> </span><span class="kw">rnorm</span>(N<span class="op">^</span><span class="dv">2</span>)
rr3 <-<span class="st"> </span><span class="kw">rnorm</span>(N <span class="op">+</span><span class="st"> </span><span class="fl">0.3</span>)
rrd <-<span class="st"> </span><span class="kw">density</span>(rr)
rrd2 <-<span class="st"> </span><span class="kw">density</span>(rr2)
rrd3 <-<span class="st"> </span><span class="kw">density</span>(rr3)
main <-<span class="st"> </span><span class="kw">paste0</span>(N, <span class="st">" points but plot better"</span>)
xlab <-<span class="st"> "Points in space"</span>
<span class="cf">if</span> (bm <span class="op">==</span><span class="st"> </span><span class="dv">1</span>) {
<span class="kw">layout</span>(<span class="kw">matrix</span>(<span class="kw">c</span>(<span class="kw">rep</span>(<span class="dv">1</span>,
<span class="dv">3</span>), <span class="dv">2</span><span class="op">:</span><span class="dv">4</span>), <span class="dv">2</span>, <span class="dv">3</span>, <span class="dt">byrow =</span> <span class="ot">TRUE</span>))
sc <-<span class="st"> </span><span class="dv">1</span>
<span class="kw">plot</span>(rr, <span class="dt">las =</span> <span class="dv">1</span>, <span class="dt">bty =</span> <span class="st">"n"</span>,
<span class="dt">col =</span> <span class="kw">adjustcolor</span>(<span class="kw">viridis</span>(N),
<span class="fl">0.5</span>), <span class="dt">pch =</span> <span class="dv">20</span>,
<span class="dt">cex =</span> <span class="kw">runif</span>(<span class="dv">10</span>, <span class="dv">1</span>,
<span class="dv">5</span>), <span class="dt">main =</span> main,
<span class="dt">xlab =</span> xlab)
<span class="cf">for</span> (r <span class="cf">in</span> <span class="kw">list</span>(rrd, rrd2,
rrd3)) {
<span class="kw">plot</span>(r, <span class="dt">xlim =</span> xlim,
<span class="dt">ylim =</span> ylim, <span class="dt">main =</span> <span class="st">""</span>)
<span class="kw">polygon</span>(r, <span class="dt">col =</span> <span class="kw">adjustcolor</span>(<span class="kw">viridis</span>(<span class="dv">250</span>)[sc],
<span class="fl">0.5</span>), <span class="dt">border =</span> <span class="kw">viridis</span>(<span class="dv">250</span>)[sc])
sc <-<span class="st"> </span>sc <span class="op">+</span><span class="st"> </span><span class="dv">100</span>
}
} <span class="cf">else</span> {
<span class="kw">par</span>(<span class="dt">mfrow =</span> <span class="kw">c</span>(<span class="dv">1</span>, <span class="dv">1</span>))
<span class="kw">plot</span>(rr, <span class="dt">las =</span> <span class="dv">1</span>, <span class="dt">bty =</span> <span class="st">"n"</span>,
<span class="dt">col =</span> <span class="kw">adjustcolor</span>(<span class="kw">viridis</span>(N),
<span class="fl">0.5</span>), <span class="dt">pch =</span> <span class="dv">20</span>,
<span class="dt">cex =</span> <span class="kw">runif</span>(<span class="dv">10</span>, <span class="dv">1</span>,
<span class="dv">5</span>), <span class="dt">main =</span> main,
<span class="dt">xlab =</span> xlab)
}</code></pre></div>
<p><img src="Lesson5_rmd_files/figure-html/unnamed-chunk-2-1.png" width="672" /></p>
<p>Figure 2. Example of a plot with improved graphics and its associated code embedded into the output document from RMarkdown.</p>
</div>
<div id="and-tables" class="section level2">
<h2>And tables</h2>
<p>Table 1. Definitions of model parameters for individual hosts and <strong>parasites</strong>. Dimensions and units: -, dimensionless; cm, centimetres; J, Joules; L, length.</p>
<table>
<thead>
<tr class="header">
<th align="center">Parameter</th>
<th align="left">Definition</th>
<th align="right">Dimension<br/>(unit)</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="center"><em>L</em></td>
<td align="left">structural length</td>
<td align="right">cm</td>
</tr>
<tr class="even">
<td align="center"><em>ee</em></td>
<td align="left">scaled reserve density</td>
<td align="right">J (cm<sup>3</sup>)</td>
</tr>
<tr class="odd">
<td align="center"><em>D</em></td>
<td align="left">host development</td>
<td align="right">---</td>
</tr>
<tr class="even">
<td align="center"><em>RH</em></td>
<td align="left">energy in reproduction buffer</td>
<td align="right">J</td>
</tr>
</tbody>
</table>
</div>
<div id="use-buttons-or-tabs-for-sub-chapters" class="section level2 tabset tabset-fade tabset-pills">
<h2>Use buttons or tabs for sub-chapters</h2>
<div id="chapter-1" class="section level3">
<h3>Chapter 1</h3>
<p>. . . . .</p>
<p><em>Then you can add whatever you want here</em> like you would normally write in the <code>Rmd</code> file.</p>
<p>. . . . .</p>
</div>
<div id="chapter-2-with-new-code" class="section level3">
<h3>Chapter 2 (with new code)</h3>
<p>Here's an Easter egg for you ...</p>
<div id="htmlwidget-1ab56893abd9ca76ccf2" style="width:672px;height:480px;" class="plotly html-widget"></div>
<script type="application/json" data-for="htmlwidget-1ab56893abd9ca76ccf2">{"x":{"data":[{"x":[1.95410525460771],"y":[44],"text":"X: 1.954105255<br />Y: 44","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(248,118,109,1)","opacity":0.30767404672409,"size":19.9775028121485,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(248,118,109,1)"}},"hoveron":"points","name":"#000AFFFF","legendgroup":"#000AFFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.846790152407738],"y":[1],"text":"X: 0.846790152<br />Y: 1","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(246,121,99,1)","opacity":1.32197866931796,"size":19.7509465460507,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(246,121,99,1)"}},"hoveron":"points","name":"#0019FFFF","legendgroup":"#0019FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.834325037545013],"y":[12],"text":"X: 0.834325038<br />Y: 12","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(243,123,89,1)","opacity":0.0897032482654508,"size":21.8894144409432,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(243,123,89,1)"}},"hoveron":"points","name":"#0029FFFF","legendgroup":"#0029FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.19712891685252],"y":[13],"text":"X: 0.197128917<br />Y: 13","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(240,126,77,1)","opacity":1.03141034094869,"size":20.4213651373741,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(240,126,77,1)"}},"hoveron":"points","name":"#0038FFFF","legendgroup":"#0038FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.855768431757766],"y":[32],"text":"X: 0.855768432<br />Y: 32","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(237,129,65,1)","opacity":0.123040446673801,"size":20.6389147313343,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(237,129,65,1)"}},"hoveron":"points","name":"#0047FFFF","legendgroup":"#0047FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.994420599790523],"y":[14],"text":"X: 0.994420600<br />Y: 14","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(234,131,49,1)","opacity":0.0755679227470965,"size":22.0895297632178,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(234,131,49,1)"}},"hoveron":"points","name":"#0057FFFF","legendgroup":"#0057FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.406546693678272],"y":[39],"text":"X: 0.406546694<br />Y: 39","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(231,134,27,1)","opacity":0.279087484503259,"size":16.7266542811592,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(231,134,27,1)"}},"hoveron":"points","name":"#0066FFFF","legendgroup":"#0066FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.314204596436828],"y":[6],"text":"X: 0.314204596<br />Y: 6","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(227,136,0,1)","opacity":0.0281725183841072,"size":12.7332952720506,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(227,136,0,1)"}},"hoveron":"points","name":"#0075FFFF","legendgroup":"#0075FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.250038722057874],"y":[23],"text":"X: -0.250038722<br />Y: 23","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(224,139,0,1)","opacity":0.887119226195818,"size":3.77952755905512,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(224,139,0,1)"}},"hoveron":"points","name":"#0085FFFF","legendgroup":"#0085FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.31427279695036],"y":[50],"text":"X: -1.314272797<br />Y: 50","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(220,141,0,1)","opacity":1.3880796618601,"size":9.81615651968447,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(220,141,0,1)"}},"hoveron":"points","name":"#0094FFFF","legendgroup":"#0094FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.539249743951547],"y":[2],"text":"X: 0.539249744<br />Y: 2","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(216,144,0,1)","opacity":0.244295539424513,"size":14.9105213739959,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(216,144,0,1)"}},"hoveron":"points","name":"#00A3FFFF","legendgroup":"#00A3FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.734652105895187],"y":[46],"text":"X: 0.734652106<br />Y: 46","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(211,146,0,1)","opacity":1.68610180270557,"size":11.8785151856018,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(211,146,0,1)"}},"hoveron":"points","name":"#00B2FFFF","legendgroup":"#00B2FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.05089006245306],"y":[50],"text":"X: -1.050890062<br />Y: 50","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(207,148,0,1)","opacity":0.949798905691075,"size":13.1314329317555,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(207,148,0,1)"}},"hoveron":"points","name":"#00C2FFFF","legendgroup":"#00C2FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[2.02033484176677],"y":[9],"text":"X: 2.020334842<br />Y: 9","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(202,151,0,1)","opacity":1.35140107729609,"size":22.6771653543307,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(202,151,0,1)"}},"hoveron":"points","name":"#00D1FFFF","legendgroup":"#00D1FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.456827247726432],"y":[21],"text":"X: 0.456827248<br />Y: 21","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(197,153,0,1)","opacity":1.29951287635334,"size":11.8785151856018,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(197,153,0,1)"}},"hoveron":"points","name":"#00E0FFFF","legendgroup":"#00E0FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.112670576433895],"y":[8],"text":"X: -0.112670576<br />Y: 8","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(192,155,0,1)","opacity":0.0505472819337749,"size":12.7332952720506,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(192,155,0,1)"}},"hoveron":"points","name":"#00F0FFFF","legendgroup":"#00F0FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.372456732278273],"y":[24],"text":"X: -0.372456732<br />Y: 24","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(187,157,0,1)","opacity":0.513872180952252,"size":20.6389147313343,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(187,157,0,1)"}},"hoveron":"points","name":"#00FF0AFF","legendgroup":"#00FF0AFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.485141354788276],"y":[16],"text":"X: -0.485141355<br />Y: 16","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(181,159,0,1)","opacity":0.959253963060824,"size":19.287908157133,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(181,159,0,1)"}},"hoveron":"points","name":"#00FF1AFF","legendgroup":"#00FF1AFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.274784178475709],"y":[31],"text":"X: 0.274784178<br />Y: 31","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(175,161,0,1)","opacity":0.121663672385953,"size":19.287908157133,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(175,161,0,1)"}},"hoveron":"points","name":"#00FF29FF","legendgroup":"#00FF29FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.4795125615823],"y":[25],"text":"X: -0.479512562<br />Y: 25","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(169,163,0,1)","opacity":0.665937151118727,"size":19.0511250829941,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(169,163,0,1)"}},"hoveron":"points","name":"#00FF38FF","legendgroup":"#00FF38FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.798105326125375],"y":[45],"text":"X: 0.798105326<br />Y: 45","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(163,165,0,1)","opacity":1.23871981901545,"size":12.3166101061913,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(163,165,0,1)"}},"hoveron":"points","name":"#00FF47FF","legendgroup":"#00FF47FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.00445120238872],"y":[41],"text":"X: -1.004451202<br />Y: 41","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(156,167,0,1)","opacity":1.18394078254209,"size":19.5211299748355,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(156,167,0,1)"}},"hoveron":"points","name":"#00FF57FF","legendgroup":"#00FF57FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.104984233069838],"y":[22],"text":"X: 0.104984233<br />Y: 22","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(149,169,0,1)","opacity":1.49836149129708,"size":18.0647989798763,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(149,169,0,1)"}},"hoveron":"points","name":"#00FF66FF","legendgroup":"#00FF66FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.15599289019211],"y":[5],"text":"X: -1.155992890<br />Y: 5","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(141,171,0,1)","opacity":0.289104355354347,"size":10.9221632694657,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(141,171,0,1)"}},"hoveron":"points","name":"#00FF75FF","legendgroup":"#00FF75FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.578134626957856],"y":[38],"text":"X: 0.578134627<br />Y: 38","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(133,173,0,1)","opacity":1.92368721847188,"size":19.0511250829941,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(133,173,0,1)"}},"hoveron":"points","name":"#00FF85FF","legendgroup":"#00FF85FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.59562565619352],"y":[18],"text":"X: -1.595625656<br />Y: 18","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(124,174,0,1)","opacity":0.518512450554538,"size":20.4213651373741,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(124,174,0,1)"}},"hoveron":"points","name":"#00FF94FF","legendgroup":"#00FF94FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.308503656205915],"y":[34],"text":"X: -0.308503656<br />Y: 34","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(114,176,0,1)","opacity":0.476590956687039,"size":22.0895297632178,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(114,176,0,1)"}},"hoveron":"points","name":"#00FFA3FF","legendgroup":"#00FFA3FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.449465922122599],"y":[38],"text":"X: 0.449465922<br />Y: 38","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(103,177,0,1)","opacity":0.302603746545976,"size":11.4153263210246,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(103,177,0,1)"}},"hoveron":"points","name":"#00FFB3FF","legendgroup":"#00FFB3FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.977053282629372],"y":[4],"text":"X: -0.977053283<br />Y: 4","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(91,179,0,1)","opacity":0.821232709868714,"size":9.17885264341957,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(91,179,0,1)"}},"hoveron":"points","name":"#00FFC2FF","legendgroup":"#00FFC2FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.189997859367245],"y":[49],"text":"X: 0.189997859<br />Y: 49","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(76,180,0,1)","opacity":0.392579260298806,"size":21.687062985046,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(76,180,0,1)"}},"hoveron":"points","name":"#00FFD1FF","legendgroup":"#00FFD1FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.731453357300177],"y":[5],"text":"X: 0.731453357<br />Y: 5","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(57,182,0,1)","opacity":1.44045092388509,"size":3.77952755905512,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(57,182,0,1)"}},"hoveron":"points","name":"#00FFE0FF","legendgroup":"#00FFE0FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.492599110754294],"y":[32],"text":"X: -0.492599111<br />Y: 32","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(27,183,0,1)","opacity":0.868897483537004,"size":11.4153263210246,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(27,183,0,1)"}},"hoveron":"points","name":"#00FFF0FF","legendgroup":"#00FFF0FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.042684912173995],"y":[46],"text":"X: -0.042684912<br />Y: 46","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,184,31,1)","opacity":2.98645606928376,"size":18.5661882791046,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,184,31,1)"}},"hoveron":"points","name":"#00FFFFFF","legendgroup":"#00FFFFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-2.14926000156704],"y":[45],"text":"X: -2.149260002<br />Y: 45","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,185,51,1)","opacity":1.47857607432128,"size":9.17885264341957,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,185,51,1)"}},"hoveron":"points","name":"#0500FFFF","legendgroup":"#0500FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.0704921583121],"y":[18],"text":"X: -1.070492158<br />Y: 18","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,186,66,1)","opacity":0.367005425950837,"size":16.1509355094421,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,186,66,1)"}},"hoveron":"points","name":"#05FF00FF","legendgroup":"#05FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.971120269710021],"y":[20],"text":"X: 0.971120270<br />Y: 20","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,187,78,1)","opacity":0.469536110860637,"size":13.5132992813426,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,187,78,1)"}},"hoveron":"points","name":"#1400FFFF","legendgroup":"#1400FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.541028649061476],"y":[21],"text":"X: -0.541028649<br />Y: 21","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,188,89,1)","opacity":0.675821504570907,"size":9.81615651968447,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,188,89,1)"}},"hoveron":"points","name":"#14FF00FF","legendgroup":"#14FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.14506157329253],"y":[41],"text":"X: 1.145061573<br />Y: 41","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,189,99,1)","opacity":0.865843767729784,"size":10.9221632694657,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,189,99,1)"}},"hoveron":"points","name":"#2400FFFF","legendgroup":"#2400FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[2.07203576815057],"y":[9],"text":"X: 2.072035768<br />Y: 9","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,190,108,1)","opacity":1.32060090653404,"size":20.8536926533276,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,190,108,1)"}},"hoveron":"points","name":"#24FF00FF","legendgroup":"#24FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.525400626098731],"y":[43],"text":"X: -0.525400626<br />Y: 43","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,191,117,1)","opacity":0.999281501017827,"size":22.4833383044558,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,191,117,1)"}},"hoveron":"points","name":"#3300FFFF","legendgroup":"#3300FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.673981163800475],"y":[5],"text":"X: 0.673981164<br />Y: 5","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,191,125,1)","opacity":1.5431527225713,"size":18.3176552723541,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,191,125,1)"}},"hoveron":"points","name":"#33FF00FF","legendgroup":"#33FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.250320102774171],"y":[6],"text":"X: 0.250320103<br />Y: 6","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,133,1)","opacity":1.0918678638688,"size":17.8073856181056,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,133,1)"}},"hoveron":"points","name":"#4200FFFF","legendgroup":"#4200FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.362064721117229],"y":[30],"text":"X: 0.362064721<br />Y: 30","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,141,1)","opacity":0.768470969691349,"size":9.17885264341957,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,141,1)"}},"hoveron":"points","name":"#42FF00FF","legendgroup":"#42FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.429406611369704],"y":[33],"text":"X: -0.429406611<br />Y: 33","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,149,1)","opacity":0.853628450739981,"size":17.0051189711578,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,149,1)"}},"hoveron":"points","name":"#5200FFFF","legendgroup":"#5200FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.145799895543701],"y":[6],"text":"X: 0.145799896<br />Y: 6","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,193,156,1)","opacity":1.69354793059294,"size":13.5132992813426,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,193,156,1)"}},"hoveron":"points","name":"#52FF00FF","legendgroup":"#52FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.182519622146965],"y":[30],"text":"X: -0.182519622<br />Y: 30","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,193,163,1)","opacity":0.627076417035401,"size":21.687062985046,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,193,163,1)"}},"hoveron":"points","name":"#6100FFFF","legendgroup":"#6100FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.131122595424375],"y":[33],"text":"X: 0.131122595<br />Y: 33","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,193,170,1)","opacity":0.229630244890438,"size":10.9221632694657,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,193,170,1)"}},"hoveron":"points","name":"#61FF00FF","legendgroup":"#61FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.103310466384681],"y":[41],"text":"X: -0.103310466<br />Y: 41","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,177,1)","opacity":0.420684779960525,"size":20.2009337150908,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,177,1)"}},"hoveron":"points","name":"#7000FFFF","legendgroup":"#7000FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.199105661114762],"y":[39],"text":"X: -0.199105661<br />Y: 39","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,184,1)","opacity":0.799804142246851,"size":9.81615651968447,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,184,1)"}},"hoveron":"points","name":"#70FF00FF","legendgroup":"#70FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.63383820321184],"y":[34],"text":"X: -0.633838203<br />Y: 34","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,192,190,1)","opacity":0.39587329633614,"size":8.45548024540529,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,192,190,1)"}},"hoveron":"points","name":"#8000FFFF","legendgroup":"#8000FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.267384829994282],"y":[9],"text":"X: -0.267384830<br />Y: 9","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,191,196,1)","opacity":0.798342466916299,"size":22.4833383044558,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,191,196,1)"}},"hoveron":"points","name":"#80FF00FF","legendgroup":"#80FF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.27105378720328],"y":[6],"text":"X: -1.271053787<br />Y: 6","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,190,202,1)","opacity":0.389748120655664,"size":20.8536926533276,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,190,202,1)"}},"hoveron":"points","name":"#8F00FFFF","legendgroup":"#8F00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.02524483901366],"y":[15],"text":"X: -1.025244839<br />Y: 15","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,189,208,1)","opacity":0.683918780578655,"size":18.8106124530844,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,189,208,1)"}},"hoveron":"points","name":"#8FFF00FF","legendgroup":"#8FFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.383950393903242],"y":[29],"text":"X: -0.383950394<br />Y: 29","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,188,214,1)","opacity":0.38357338399225,"size":16.4420672931116,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,188,214,1)"}},"hoveron":"points","name":"#9E00FFFF","legendgroup":"#9E00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.302459245168265],"y":[28],"text":"X: -0.302459245<br />Y: 28","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,187,219,1)","opacity":0.341768610276271,"size":21.2753404681427,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,187,219,1)"}},"hoveron":"points","name":"#9EFF00FF","legendgroup":"#9EFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.516755802363183],"y":[36],"text":"X: 0.516755802<br />Y: 36","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,186,224,1)","opacity":1.6628702816608,"size":6.47919010123734,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,186,224,1)"}},"hoveron":"points","name":"#AD00FFFF","legendgroup":"#AD00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.01197911806715],"y":[15],"text":"X: 1.011979118<br />Y: 15","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,184,229,1)","opacity":0.515233958297263,"size":14.9105213739959,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,184,229,1)"}},"hoveron":"points","name":"#ADFF00FF","legendgroup":"#ADFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.177968543811207],"y":[10],"text":"X: -0.177968544<br />Y: 10","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,182,234,1)","opacity":1.12813925789448,"size":11.8785151856018,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,182,234,1)"}},"hoveron":"points","name":"#BD00FFFF","legendgroup":"#BD00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[2.00720145694544],"y":[8],"text":"X: 2.007201457<br />Y: 8","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,180,239,1)","opacity":0.371716971363048,"size":7.59742694003985,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,180,239,1)"}},"hoveron":"points","name":"#BDFF00FF","legendgroup":"#BDFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.0042580386632767],"y":[44],"text":"X: 0.004258039<br />Y: 44","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,178,243,1)","opacity":0.131074874006643,"size":18.8106124530844,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,178,243,1)"}},"hoveron":"points","name":"#CC00FFFF","legendgroup":"#CC00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.223641415376273],"y":[27],"text":"X: 0.223641415<br />Y: 27","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,176,246,1)","opacity":0.611595291859261,"size":21.8894144409432,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,176,246,1)"}},"hoveron":"points","name":"#CCFF00FF","legendgroup":"#CCFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.27405955085358],"y":[10],"text":"X: -1.274059551<br />Y: 10","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,173,250,1)","opacity":0.416865994512243,"size":17.8073856181056,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,173,250,1)"}},"hoveron":"points","name":"#DB00FFFF","legendgroup":"#DB00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.293305149081411],"y":[8],"text":"X: -0.293305149<br />Y: 8","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,171,253,1)","opacity":0.839213619475944,"size":17.2778402699663,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,171,253,1)"}},"hoveron":"points","name":"#DBFF00FF","legendgroup":"#DBFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.202110338324637],"y":[13],"text":"X: -0.202110338<br />Y: 13","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,168,255,1)","opacity":0.65236130217055,"size":17.5451595417578,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,168,255,1)"}},"hoveron":"points","name":"#EB00FFFF","legendgroup":"#EB00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.506968172259166],"y":[47],"text":"X: 0.506968172<br />Y: 47","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,165,255,1)","opacity":0.652816888666918,"size":9.17885264341957,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,165,255,1)"}},"hoveron":"points","name":"#EBFF00FF","legendgroup":"#EBFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.16446587974116],"y":[22],"text":"X: 1.164465880<br />Y: 22","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(53,162,255,1)","opacity":1.64781472099279,"size":21.4823987157759,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(53,162,255,1)"}},"hoveron":"points","name":"#FA00FFFF","legendgroup":"#FA00FFFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.340512270849188],"y":[19],"text":"X: 0.340512271<br />Y: 19","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(82,158,255,1)","opacity":1.6356493842398,"size":15.8527854803138,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(82,158,255,1)"}},"hoveron":"points","name":"#FAFF00FF","legendgroup":"#FAFF00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.48056759491936],"y":[49],"text":"X: -1.480567595<br />Y: 49","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(103,155,255,1)","opacity":0.252340039095107,"size":13.8807398518082,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(103,155,255,1)"}},"hoveron":"points","name":"#FF0000FF","legendgroup":"#FF0000FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.00729895959026],"y":[46],"text":"X: -1.007298960<br />Y: 46","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(121,151,255,1)","opacity":0.877727871546761,"size":11.4153263210246,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(121,151,255,1)"}},"hoveron":"points","name":"#FF000FFF","legendgroup":"#FF000FFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.239013591052881],"y":[3],"text":"X: -0.239013591<br />Y: 3","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(136,147,255,1)","opacity":0.99871809551267,"size":6.47919010123734,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(136,147,255,1)"}},"hoveron":"points","name":"#FF001FFF","legendgroup":"#FF001FFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.694737942026965],"y":[37],"text":"X: -0.694737942<br />Y: 37","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(149,144,255,1)","opacity":1.80286524569441,"size":13.1314329317555,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(149,144,255,1)"}},"hoveron":"points","name":"#FF002EFF","legendgroup":"#FF002EFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.452281256535681],"y":[10],"text":"X: 0.452281257<br />Y: 10","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(161,140,255,1)","opacity":0.640253580650597,"size":13.8807398518082,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(161,140,255,1)"}},"hoveron":"points","name":"#FF003DFF","legendgroup":"#FF003DFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.342289273627691],"y":[14],"text":"X: -0.342289274<br />Y: 14","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(172,136,255,1)","opacity":0.502102291221487,"size":18.3176552723541,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(172,136,255,1)"}},"hoveron":"points","name":"#FF004CFF","legendgroup":"#FF004CFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.0337029805641],"y":[26],"text":"X: 1.033702981<br />Y: 26","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(181,132,255,1)","opacity":0.0552669303449633,"size":21.4823987157759,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(181,132,255,1)"}},"hoveron":"points","name":"#FF005CFF","legendgroup":"#FF005CFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.129262533485368],"y":[41],"text":"X: 0.129262533<br />Y: 41","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(191,128,255,1)","opacity":0.537797625100396,"size":20.2009337150908,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(191,128,255,1)"}},"hoveron":"points","name":"#FF006BFF","legendgroup":"#FF006BFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.897559402273504],"y":[2],"text":"X: 0.897559402<br />Y: 2","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(199,124,255,1)","opacity":0.670097231163236,"size":15.8527854803138,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(199,124,255,1)"}},"hoveron":"points","name":"#FF007AFF","legendgroup":"#FF007AFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.984673796713479],"y":[39],"text":"X: -0.984673797<br />Y: 39","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(207,120,255,1)","opacity":0.225435996740998,"size":18.8106124530844,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(207,120,255,1)"}},"hoveron":"points","name":"#FF008AFF","legendgroup":"#FF008AFF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.376448399581965],"y":[10],"text":"X: 0.376448400<br />Y: 10","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(214,117,254,1)","opacity":0.128257999550038,"size":17.5451595417578,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(214,117,254,1)"}},"hoveron":"points","name":"#FF0099FF","legendgroup":"#FF0099FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.963398331881266],"y":[40],"text":"X: -0.963398332<br />Y: 40","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(220,113,250,1)","opacity":0.914581846073858,"size":15.8527854803138,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(220,113,250,1)"}},"hoveron":"points","name":"#FF00A8FF","legendgroup":"#FF00A8FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.541888859649955],"y":[5],"text":"X: -0.541888860<br />Y: 5","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(226,110,247,1)","opacity":0.66124928522967,"size":22.6771653543307,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(226,110,247,1)"}},"hoveron":"points","name":"#FF00B8FF","legendgroup":"#FF00B8FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.11370907755827],"y":[9],"text":"X: 1.113709078<br />Y: 9","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(231,107,243,1)","opacity":1.35909679182259,"size":13.8807398518082,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(231,107,243,1)"}},"hoveron":"points","name":"#FF00C7FF","legendgroup":"#FF00C7FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.17672445493159],"y":[47],"text":"X: -0.176724455<br />Y: 47","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(236,105,239,1)","opacity":0.405379789844677,"size":22.0895297632178,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(236,105,239,1)"}},"hoveron":"points","name":"#FF00D6FF","legendgroup":"#FF00D6FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.897156749900788],"y":[12],"text":"X: 0.897156750<br />Y: 12","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(240,102,234,1)","opacity":1.30546810324467,"size":19.287908157133,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(240,102,234,1)"}},"hoveron":"points","name":"#FF00E6FF","legendgroup":"#FF00E6FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.0233794085238708],"y":[47],"text":"X: -0.023379409<br />Y: 47","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(244,100,229,1)","opacity":0.676533817057978,"size":9.81615651968447,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(244,100,229,1)"}},"hoveron":"points","name":"#FF00F5FF","legendgroup":"#FF00F5FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.57716947155863],"y":[11],"text":"X: 1.577169472<br />Y: 11","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(247,99,224,1)","opacity":0.642314265150256,"size":15.2332257020093,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(247,99,224,1)"}},"hoveron":"points","name":"#FF0F00FF","legendgroup":"#FF0F00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.956744479084269],"y":[27],"text":"X: -0.956744479<br />Y: 27","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(250,98,219,1)","opacity":0.346936107707451,"size":7.59742694003985,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(250,98,219,1)"}},"hoveron":"points","name":"#FF1F00FF","legendgroup":"#FF1F00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.920005247558641],"y":[42],"text":"X: -0.920005248<br />Y: 42","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(252,97,213,1)","opacity":0.515263231548538,"size":21.8894144409432,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(252,97,213,1)"}},"hoveron":"points","name":"#FF2E00FF","legendgroup":"#FF2E00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.99764209693134],"y":[49],"text":"X: -1.997642097<br />Y: 49","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(254,97,207,1)","opacity":0.398168923330113,"size":19.0511250829941,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(254,97,207,1)"}},"hoveron":"points","name":"#FF3D00FF","legendgroup":"#FF3D00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.27229604424923],"y":[32],"text":"X: -0.272296044<br />Y: 32","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,97,201,1)","opacity":0.953557213652118,"size":21.0658022157917,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,97,201,1)"}},"hoveron":"points","name":"#FF4D00FF","legendgroup":"#FF4D00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.315348711467784],"y":[15],"text":"X: -0.315348711<br />Y: 15","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,97,194,1)","opacity":0.260178924384099,"size":20.8536926533276,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,97,194,1)"}},"hoveron":"points","name":"#FF5C00FF","legendgroup":"#FF5C00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.628255236517538],"y":[3],"text":"X: -0.628255237<br />Y: 3","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,98,188,1)","opacity":2.05013437683161,"size":10.3923232651064,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,98,188,1)"}},"hoveron":"points","name":"#FF6B00FF","legendgroup":"#FF6B00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.106463884872094],"y":[28],"text":"X: -0.106463885<br />Y: 28","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,99,181,1)","opacity":0.287970717575725,"size":11.4153263210246,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,99,181,1)"}},"hoveron":"points","name":"#FF7A00FF","legendgroup":"#FF7A00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.428014802202354],"y":[14],"text":"X: 0.428014802<br />Y: 14","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,101,174,1)","opacity":0.36194541917808,"size":16.1509355094421,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,101,174,1)"}},"hoveron":"points","name":"#FF8A00FF","legendgroup":"#FF8A00FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.777719582147445],"y":[40],"text":"X: -0.777719582<br />Y: 40","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,102,167,1)","opacity":1.68674102390039,"size":15.5470837620896,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,102,167,1)"}},"hoveron":"points","name":"#FF9900FF","legendgroup":"#FF9900FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-1.29388229761362],"y":[1],"text":"X: -1.293882298<br />Y: 1","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,104,159,1)","opacity":1.24716980225836,"size":20.4213651373741,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,104,159,1)"}},"hoveron":"points","name":"#FFA800FF","legendgroup":"#FFA800FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.779566508059429],"y":[21],"text":"X: -0.779566508<br />Y: 21","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,106,152,1)","opacity":1.77019288204388,"size":14.2352756253069,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,106,152,1)"}},"hoveron":"points","name":"#FFB800FF","legendgroup":"#FFB800FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[0.0119517585652984],"y":[34],"text":"X: 0.011951759<br />Y: 34","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,108,145,1)","opacity":0.222835865452008,"size":20.8536926533276,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,108,145,1)"}},"hoveron":"points","name":"#FFC700FF","legendgroup":"#FFC700FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.152416237822168],"y":[33],"text":"X: -0.152416238<br />Y: 33","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,108,145,1)","opacity":0.560520433082633,"size":13.5132992813426,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,108,145,1)"}},"hoveron":"points","name":"#FFD600FF","legendgroup":"#FFD600FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[-0.703464254478642],"y":[35],"text":"X: -0.703464254<br />Y: 35","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,108,145,1)","opacity":0.508129562203864,"size":22.4833383044558,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,108,145,1)"}},"hoveron":"points","name":"#FFE500FF","legendgroup":"#FFE500FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[1.18887915627567],"y":[7],"text":"X: 1.188879156<br />Y: 7","type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(255,108,145,1)","opacity":0.938833088183996,"size":11.8785151856018,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(255,108,145,1)"}},"hoveron":"points","name":"#FFF500FF","legendgroup":"#FFF500FF","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null}],"layout":{"margin":{"t":26.2283105022831,"r":7.30593607305936,"b":40.1826484018265,"l":37.2602739726027},"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[-2.36032479005292,2.28310055663645],"tickmode":"array","ticktext":["-2","-1","0","1","2"],"tickvals":[-2,-1,0,1,2],"categoryorder":"array","categoryarray":["-2","-1","0","1","2"],"nticks":null,"ticks":"","tickcolor":null,"ticklen":3.65296803652968,"tickwidth":0,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(235,235,235,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":{"text":"Random normally distributed data","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"yaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[-1.45,52.45],"tickmode":"array","ticktext":["0","10","20","30","40","50"],"tickvals":[0,10,20,30,40,50],"categoryorder":"array","categoryarray":["0","10","20","30","40","50"],"nticks":null,"ticks":"","tickcolor":null,"ticklen":3.65296803652968,"tickwidth":0,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(235,235,235,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"x","title":{"text":"Sampled integers","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"shapes":[{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0,"x1":1,"y0":0,"y1":1}],"showlegend":false,"legend":{"bgcolor":null,"bordercolor":null,"borderwidth":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":11.689497716895}},"hovermode":"closest","barmode":"relative"},"config":{"doubleClick":"reset","showSendToCloud":false},"source":"A","attrs":{"1540f3691f917":{"x":{},"y":{},"colour":{},"size":{},"type":"scatter"}},"cur_data":"1540f3691f917","visdat":{"1540f3691f917":["function (y) ","x"]},"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
</div>
<div id="more-tables" class="section level3">
<h3>More tables</h3>
<p>Here's a new way of creating tables using the <code>DT</code> package</p>
<div id="htmlwidget-d303ae407d0d0ffab9ff" style="width:100%;height:auto;" class="datatables html-widget"></div>
<script type="application/json" data-for="htmlwidget-d303ae407d0d0ffab9ff">{"x":{"filter":"top","filterHTML":"<tr>\n <td><\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"10.4\" data-max=\"33.9\" data-scale=\"1\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"4\" data-max=\"8\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"71.1\" data-max=\"472\" data-scale=\"1\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"52\" data-max=\"335\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"2.76\" data-max=\"4.93\" data-scale=\"2\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"1.513\" data-max=\"5.424\" data-scale=\"3\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"14.5\" data-max=\"22.9\" data-scale=\"2\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"0\" data-max=\"1\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"0\" data-max=\"1\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"3\" data-max=\"5\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n <td data-type=\"number\" style=\"vertical-align: top;\">\n <div class=\"form-group has-feedback\" style=\"margin-bottom: auto;\">\n <input type=\"search\" placeholder=\"All\" class=\"form-control\" style=\"width: 100%;\"/>\n <span class=\"glyphicon glyphicon-remove-circle form-control-feedback\"><\/span>\n <\/div>\n <div style=\"display: none; position: absolute; width: 200px;\">\n <div data-min=\"1\" data-max=\"8\"><\/div>\n <span style=\"float: left;\"><\/span>\n <span style=\"float: right;\"><\/span>\n <\/div>\n <\/td>\n<\/tr>","caption":"<caption>Table 1. The 'mtcars' dataset presented in a datatable. Try editing the columns and cells.<\/caption>","editable":{"target":"cell","disable":{"columns":null}},"data":[["Mazda RX4","Mazda RX4 Wag","Datsun 710","Hornet 4 Drive","Hornet Sportabout","Valiant","Duster 360","Merc 240D","Merc 230","Merc 280","Merc 280C","Merc 450SE","Merc 450SL","Merc 450SLC","Cadillac Fleetwood","Lincoln Continental","Chrysler Imperial","Fiat 128","Honda Civic","Toyota Corolla","Toyota Corona","Dodge Challenger","AMC Javelin","Camaro Z28","Pontiac Firebird","Fiat X1-9","Porsche 914-2","Lotus Europa","Ford Pantera L","Ferrari Dino","Maserati Bora","Volvo 142E"],[21,21,22.8,21.4,18.7,18.1,14.3,24.4,22.8,19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4,30.4,33.9,21.5,15.5,15.2,13.3,19.2,27.3,26,30.4,15.8,19.7,15,21.4],[6,6,4,6,8,6,8,4,4,6,6,8,8,8,8,8,8,4,4,4,4,8,8,8,8,4,4,4,8,6,8,4],[160,160,108,258,360,225,360,146.7,140.8,167.6,167.6,275.8,275.8,275.8,472,460,440,78.7,75.7,71.1,120.1,318,304,350,400,79,120.3,95.1,351,145,301,121],[110,110,93,110,175,105,245,62,95,123,123,180,180,180,205,215,230,66,52,65,97,150,150,245,175,66,91,113,264,175,335,109],[3.9,3.9,3.85,3.08,3.15,2.76,3.21,3.69,3.92,3.92,3.92,3.07,3.07,3.07,2.93,3,3.23,4.08,4.93,4.22,3.7,2.76,3.15,3.73,3.08,4.08,4.43,3.77,4.22,3.62,3.54,4.11],[2.62,2.875,2.32,3.215,3.44,3.46,3.57,3.19,3.15,3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.2,1.615,1.835,2.465,3.52,3.435,3.84,3.845,1.935,2.14,1.513,3.17,2.77,3.57,2.78],[16.46,17.02,18.61,19.44,17.02,20.22,15.84,20,22.9,18.3,18.9,17.4,17.6,18,17.98,17.82,17.42,19.47,18.52,19.9,20.01,16.87,17.3,15.41,17.05,18.9,16.7,16.9,14.5,15.5,14.6,18.6],[0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,1,0,0,0,1],[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1],[4,4,4,3,3,3,3,4,4,4,4,3,3,3,3,3,3,4,4,4,3,3,3,3,3,4,5,5,5,5,5,4],[4,4,1,1,2,1,4,2,2,4,4,3,3,3,4,4,4,1,2,1,1,2,2,4,2,1,2,2,4,6,8,2]],"container":"<table class=\"cell-border stripe\">\n <thead>\n <tr>\n <th> <\/th>\n <th>mpg<\/th>\n <th>cyl<\/th>\n <th>disp<\/th>\n <th>hp<\/th>\n <th>drat<\/th>\n <th>wt<\/th>\n <th>qsec<\/th>\n <th>vs<\/th>\n <th>am<\/th>\n <th>gear<\/th>\n <th>carb<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"pageLength":5,"scrollX":true,"columnDefs":[{"className":"dt-right","targets":[1,2,3,4,5,6,7,8,9,10,11]},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false,"orderCellsTop":true,"lengthMenu":[5,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
<!-- *** -->
</div>
</div>
<div id="embed-code-from-different-languages" class="section level2">
<h2>Embed code from different languages</h2>
<div id="this-is-r-code" class="section level3">
<h3>This is <code>R</code> code</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">pck <-<span class="st"> </span><span class="dv">0</span>
<span class="cf">if</span> (pck <span class="op">==</span><span class="st"> </span><span class="dv">1</span>) {
p <-<span class="st"> </span><span class="kw">c</span>(<span class="st">"rJava"</span>, <span class="st">"RNetLogo"</span>)
<span class="kw">remove.packages</span>(p)
<span class="co"># then install rJava and</span>
<span class="co"># RNetLogo from source</span>
<span class="kw">install.packages</span>(<span class="st">"rJava"</span>,
<span class="dt">repos =</span> <span class="st">"https://cran.r-project.org/"</span>)
<span class="kw">install.packages</span>(<span class="st">"RNetLogo"</span>,
<span class="dt">repos =</span> <span class="st">"https://cran.r-project.org/"</span>)
}</code></pre></div>
</div>
<div id="shellbash" class="section level3">
<h3><code>shell/bash</code></h3>
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="bu">echo</span> <span class="st">"Hello Bash!"</span>
<span class="bu">pwd</span> <span class="co"># check working dir</span>
<span class="fu">git</span> init <span class="co"># initialise git</span></code></pre></div>
</div>
<div id="octave-and-matlab-from-the-rmatlab-package." class="section level3">
<h3>Octave (and MATLAB from the <code>RMatlab</code> package).</h3>
<p><a href="https://cran.r-project.org/web/packages/R.matlab/index.html"><code>RMatlab documentation</code></a>.</p>
<div class="sourceCode"><pre class="sourceCode octave"><code class="sourceCode octave">b = [<span class="fl">4</span>; <span class="fl">9</span>; <span class="fl">2</span>] <span class="co"># Column vector</span>
A = [ <span class="fl">3</span> <span class="fl">4</span> <span class="fl">5</span>;
<span class="fl">1</span> <span class="fl">3</span> <span class="fl">1</span>;
<span class="fl">3</span> <span class="fl">5</span> <span class="fl">9</span> ]
x = A \ b <span class="co"># Solve the system Ax = b</span></code></pre></div>
</div>
<div id="html" class="section level3">
<h3>HTML</h3>
<div class="sourceCode"><pre class="sourceCode html"><code class="sourceCode html"><span class="co"><!-- links--></span>
<span class="kw"><div</span><span class="ot"> class=</span><span class="st">"footer"</span><span class="kw">></span>
<span class="kw"><a</span><span class="ot"> href=</span><span class="st">"dd_feed.html"</span>
<span class="ot"> class=</span><span class="st">"transition fade_in"</span><span class="kw">></span>
Latest post
<span class="kw"></a></span>
<span class="dv">&nbsp;</span> <span class="dv">&nbsp;</span> <span class="dv">&nbsp;</span>
<span class="kw"><a</span><span class="ot"> href=</span><span class="st">"dd_contact.html"</span>
<span class="ot"> class=</span><span class="st">"transition fade_in"</span><span class="kw">></span>
Contact
<span class="kw"></a></span>
<span class="dv">&nbsp;</span> <span class="dv">&nbsp;</span> <span class="dv">&nbsp;</span>
<span class="kw"><a</span><span class="ot"> href=</span><span class="st">"dd_subscribe.html"</span>
<span class="ot"> class=</span><span class="st">"transition fade_in"</span><span class="kw">></span>
Subscribe
<span class="kw"></a></span>
<span class="kw"></div></span></code></pre></div>
</div>
<div id="css" class="section level3">
<h3>CSS</h3>
<div class="sourceCode"><pre class="sourceCode css"><code class="sourceCode css"># custom code for the tabs in this file
<span class="fl">.btn</span> <span class="kw">{</span>
<span class="kw">border-width:</span> <span class="dt">0</span> <span class="dt">0px</span> <span class="dt">0px</span> <span class="dt">0px</span><span class="kw">;</span>
<span class="kw">font-weight:</span> <span class="dt">normal</span><span class="kw">;</span>
<span class="kw">text-transform:</span> <span class="kw">;</span>
<span class="kw">}</span>
<span class="fl">.btn-default</span> <span class="kw">{</span>
<span class="kw">color:</span> <span class="dt">#f08080</span><span class="kw">;</span>
<span class="kw">background-color:</span> <span class="dt">#ffffff</span><span class="kw">;</span>
<span class="kw">border-color:</span> <span class="dt">#ffffff</span><span class="kw">;</span>
<span class="kw">}</span></code></pre></div>
</div>
<div id="javascript-to-access-html-and-css" class="section level3">
<h3>Javascript to access <code>html</code> and <code>css</code></h3>
<div class="sourceCode"><pre class="sourceCode js"><code class="sourceCode javascript"><span class="at">$</span>(<span class="st">'.title'</span>).<span class="at">css</span>(<span class="st">'color'</span><span class="op">,</span> <span class="st">'red'</span>)</code></pre></div>
</div>
<div id="python" class="section level3">
<h3>Python</h3>
<div class="sourceCode"><pre class="sourceCode python"><code class="sourceCode python">x <span class="op">=</span> <span class="st">'hello, python world!'</span>
<span class="bu">print</span>(x.split(<span class="st">' '</span>))</code></pre></div>
</div>
<div id="heres-a-complete-list-of-available-languages" class="section level3">
<h3>Here's a complete list of available languages</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">names</span>(knitr<span class="op">::</span>knit_engines<span class="op">$</span><span class="kw">get</span>())</code></pre></div>
<pre><code>## [1] "awk"
## [2] "bash"
## [3] "coffee"
## [4] "gawk"
## [5] "groovy"
## [6] "haskell"
## [7] "lein"
## [8] "mysql"
## [9] "node"
## [10] "octave"
## [11] "perl"
## [12] "psql"
## [13] "Rscript"
## [14] "ruby"
## [15] "sas"
## [16] "scala"
## [17] "sed"
## [18] "sh"
## [19] "stata"
## [20] "zsh"
## [21] "highlight"
## [22] "Rcpp"
## [23] "tikz"
## [24] "dot"
## [25] "c"
## [26] "cc"
## [27] "fortran"
## [28] "fortran95"
## [29] "asy"
## [30] "cat"
## [31] "asis"
## [32] "stan"
## [33] "block"
## [34] "block2"
## [35] "js"
## [36] "css"
## [37] "sql"
## [38] "go"
## [39] "python"
## [40] "julia"
## [41] "sass"
## [42] "scss"
## [43] "R"
## [44] "bslib"
## [45] "targets"</code></pre>
</div>
</div>
</div>
<div id="references" class="section level1">
<h1>References</h1>
<p>[1] Efthimiades, S., Physical meaning and derivation of Schrodinger and Dirac equations, Department of Natural Sciences, Fordham University, <a href="https://www.academia.edu/33763545/Concise_derivation_of_the_Schr%C3%B6dinger_equation">doi: d34464566</a>.</p>
</div>
<div class="footnotes">
<hr />
<ol>
<li id="fn1"><p>Here is the footnote you created earlier, automatically formatted<a href="#fnref1">↩</a></p></li>
</ol>
</div>
</div>
</div>
</div>
<script>
// add bootstrap table styles to pandoc tables
function bootstrapStylePandocTables() {
$('tr.header').parent('thead').parent('table').addClass('table table-condensed');
}
$(document).ready(function () {
bootstrapStylePandocTables();
});
</script>
<!-- tabsets -->
<script>
$(document).ready(function () {
window.buildTabsets("TOC");
});
$(document).ready(function () {
$('.tabset-dropdown > .nav-tabs > li').click(function () {
$(this).parent().toggleClass('nav-tabs-open')
});
});
</script>
<!-- code folding -->
<script>
$(document).ready(function () {
window.initializeCodeFolding("show" === "show");
});
</script>
<script>
$(document).ready(function () {
// move toc-ignore selectors from section div to header
$('div.section.toc-ignore')
.removeClass('toc-ignore')
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
// establish options
var options = {
selectors: "h1,h2,h3,h4",
theme: "bootstrap3",
context: '.toc-content',
hashGenerator: function (text) {
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
},
ignoreSelector: ".toc-ignore",
scrollTo: 0
};
options.showAndHide = true;
options.smoothScroll = true;
// tocify
var toc = $("#TOC").tocify(options).data("toc-tocify");
});
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>