-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRanWalk.html
39 lines (35 loc) · 1.46 KB
/
RanWalk.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
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="R package animation 2.5">
<title>Animations Using the R Language</title>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="css/scianimator.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/jquery.scianimator.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div class="scianimator"><div id="RanWalk_plot" style="display: inline-block;"></div></div>
<div class="scianimator" style="width: 480px; text-align: left"><pre><code class="r">## Animation of stochastic random walks (model population
## growth)
library(animation)
library(SNPRelate)
library(gdsfmt)
library(BiocInstaller)
for (i in 1:10) {
plot(RanWalk(), type = "o")
ani.pause()
}
## R version 3.3.3 (2017-03-06)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Other packages: animation 2.5, SNPRelate 1.8.0, gdsfmt 1.10.1, BiocInstaller
## 1.24.0</code></pre></div>
<script src="js/RanWalk.plot.js"></script>
<!-- highlight R code -->
</body>
</html>