Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
smitdave committed Mar 18, 2024
1 parent ba993a0 commit 8ebef1d
Show file tree
Hide file tree
Showing 16 changed files with 71 additions and 58 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package: motrap.micro
Package: ramp.micro
Type: Package
Title: *Mo*squito *Tr*ansmitted *P*athogen *Micro*simulation with Behavioral States
Version: 0.1.0
Expand All @@ -11,8 +11,8 @@ Description: A set of algorithms to setup, simulate, and analyze systems of equa
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
URL: https://dd-harp.github.io/motrap.micro/
RoxygenNote: 7.3.1
URL: https://dd-harp.github.io/ramp.micro/
Imports:
stats,
deldir,
Expand Down
2 changes: 1 addition & 1 deletion vignettes/landscapes.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)

## -----------------------------------------------------------------------------
dd = seq(0, 5, by = 0.01)
Expand Down
2 changes: 1 addition & 1 deletion vignettes/landscapes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vignette: >
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
```


Expand Down
27 changes: 14 additions & 13 deletions vignettes/landscapes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vignettes/point_sets.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)

## ----fig.height=5, fig.width=5------------------------------------------------
par(bty = "o")
Expand Down
2 changes: 1 addition & 1 deletion vignettes/point_sets.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vignette: >
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
```


Expand Down
4 changes: 2 additions & 2 deletions vignettes/point_sets.html

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions vignettes/simulation.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
library(viridisLite)
library(knitr)
library(viridis)
#library(motrap.micro)
devtools::load_all()
library(ramp.micro)
#devtools::load_all()

## -----------------------------------------------------------------------------
set.seed(24328)
bb = unif_xy(256, -17, 17)
qq = unif_xy(289, -17, 17)

## ----fig.height=7, fig.width=7------------------------------------------------
## ----fig.height=6, fig.width=6------------------------------------------------
par(mar = c(1,1,1,1))
plot_points_bq(bb, qq)

## -----------------------------------------------------------------------------
Expand Down Expand Up @@ -52,5 +53,11 @@ model <- SIM(model)
# devtools::load_all()

## ----fig.height=6, fig.width=6, echo=F----------------------------------------
plot_points(model, bwts = model$states$M$B_t[[201]], qwts= model$states$M$B_t[[201]])
par(mar = c(1,1,1,1))
plot_points(model, bwts = model$states$M$B_t[[201]], qwts= model$states$M$B_t[[201]], max_pt_sz=2)

## ----eval=F, echo=F-----------------------------------------------------------
# model1 <- model
# model1$Lpar$xi = .1
# model1 <- SIM(model1)

2 changes: 1 addition & 1 deletion vignettes/simulation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vignette: >
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
#devtools::load_all()
```

Expand Down
55 changes: 30 additions & 25 deletions vignettes/simulation.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vignettes/test_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
#suppressWarnings(devtools::load_all() )
set.seed(25)

Expand Down
2 changes: 1 addition & 1 deletion vignettes/test_plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vignette: >
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
#suppressWarnings(devtools::load_all() )
set.seed(25)
```
Expand Down
2 changes: 1 addition & 1 deletion vignettes/test_plots.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h1 class="title toc-ignore">On Dispersal Matrices</h1>
<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a><span class="fu">library</span>(viridisLite)</span>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a><span class="fu">library</span>(knitr)</span>
<span id="cb1-3"><a href="#cb1-3" tabindex="-1"></a><span class="fu">library</span>(viridis)</span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a><span class="fu">library</span>(motrap.micro)</span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a><span class="fu">library</span>(ramp.micro)</span>
<span id="cb1-5"><a href="#cb1-5" tabindex="-1"></a><span class="co">#suppressWarnings(devtools::load_all() )</span></span>
<span id="cb1-6"><a href="#cb1-6" tabindex="-1"></a><span class="fu">set.seed</span>(<span class="dv">25</span>)</span></code></pre></div>
<div id="introduction" class="section level2">
Expand Down
2 changes: 1 addition & 1 deletion vignettes/visualizing_dispersal.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
set.seed(25)

## ----echo=F, eval=F-----------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion vignettes/visualizing_dispersal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ vignette: >
library(viridisLite)
library(knitr)
library(viridis)
library(motrap.micro)
library(ramp.micro)
set.seed(25)
```

Expand Down
2 changes: 1 addition & 1 deletion vignettes/visualizing_dispersal.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h1 class="title toc-ignore">Visualizing Micro-Dispersal</h1>
<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a><span class="fu">library</span>(viridisLite)</span>
<span id="cb1-2"><a href="#cb1-2" tabindex="-1"></a><span class="fu">library</span>(knitr)</span>
<span id="cb1-3"><a href="#cb1-3" tabindex="-1"></a><span class="fu">library</span>(viridis)</span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a><span class="fu">library</span>(motrap.micro)</span>
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a><span class="fu">library</span>(ramp.micro)</span>
<span id="cb1-5"><a href="#cb1-5" tabindex="-1"></a><span class="fu">set.seed</span>(<span class="dv">25</span>)</span></code></pre></div>
<div id="introduction" class="section level2">
<h2>Introduction</h2>
Expand Down

0 comments on commit 8ebef1d

Please sign in to comment.