powered by
Create a geometric grid of probabilities
probgrid(p1, p2, length = 50)
the first element of the grid.
the last element of the grid.
the length of the grid.
A vector of probabilities between \(p1\) and \(p2\) and length \(length\).
Create a geometric grid of length \(length\) between \(p1\) and \(p2\).The default value of \(length\) is \(50\).
# NOT RUN { p1 <- 0.01 p2 <- 0.99 length <- 500 pgrid <- probgrid(p1, p2, length) # }
Run the code above in your browser using DataLab