library(devtools)
build(vignettes = FALSE)
reload()
#load_all()
document()
build_vignettes()
install()
## Note: document with
## R CMD Rd2pdf '../MixFishSim' ~~ in terminal using :!
#library(MixFishSim)
#distance_calc(x1 = 2, x2 = 4, y1 = 5, y2 = 6)
#move_prob(start = c(2,2), lambda = 0.3, hab = matrix(nc = 3, runif(9)))
move_prob_Lst(lambda = 0.3, hab = matrix(nc = 2, runif(4)))
# test logistic prob
tmax <- 1e6
logistic(B = 0.001, t = 1)
logistic(B = 0.001, t = 1e6)
use_past_knowledge(p = logistic(B = 0.001, t = 1))
use_past_knowledge(p = logistic(B = 0.001, t = 1e5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.