probgrid {extremefit}R Documentation

Probability grid

Description

Create a geometric grid of probabilities

Usage

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 lengthlength between p1p1 and p2p2.The default value of lengthlength is 5050.

Value

A vector of probabilities between p1p1 and p2p2 and length lengthlength.

Examples

p1 <- 0.01
p2 <- 0.99
length <- 500
pgrid <- probgrid(p1, p2, length)


[Package extremefit version 1.0.2 Index]