probgrid: Probability grid

Description Usage Arguments Details Value Examples

Description

Create a geometric grid of probabilities

Usage

1
probgrid(p1, p2, length = 50)

Arguments

p1

the first element of the grid.

p2

the last element of the grid.

length

the length of the grid.

Details

Create a geometric grid of length length between p1 and p2.The default value of length is 50.

Value

A vector of probabilities between p1 and p2 and length length.

Examples

1
2
3
4
p1 <- 0.01
p2 <- 0.99
length <- 500
pgrid <- probgrid(p1, p2, length)

extremefit documentation built on May 6, 2019, 1:10 a.m.