We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dbceb7 commit c0a6fe5Copy full SHA for c0a6fe5
VERSION
@@ -1 +1 @@
1
-0.1.2
+0.1.3
figs/distributions.R
@@ -236,12 +236,12 @@ plot.f <- function(mode, xmin=0, xmax=5,
236
plot.exp <- function(mode, xmin=0, xmax=5,
237
theta=data.frame(c(2,1,0.4)),
238
title="Exponential") {
239
- lab.fn <- function(x) substitute(beta==i, list(i=x))
+ lab.fn <- function(x) substitute(beta==i, list(i=1/x))
240
plot.continuous(xmin, xmax, theta, "exp", mode, title, lab.fn)
241
}
242
243
plot.gamma <- function(mode, xmin=0, xmax=20,
244
- theta=data.frame(a=c(1,2,3,5,9), b=c(2,2,2,1,0.5)),
+ theta=data.frame(a=c(1,2,3,5,9), b=c(0.5,0.5,0.5,1,2)),
245
title="Gamma") {
246
lab.fn <- function(x, y) substitute(list(alpha==i, beta==j), list(i=x, j=y))
247
plot.continuous(xmin, xmax, theta, "gamma", mode, title, lab.fn)
0 commit comments