View source: R/uncondExact2x2.R
power2grid | R Documentation |
Used with unirootGrid
power2grid(power2 = 3, from = 10, to = 1, dolog = TRUE)
power2gridRatio(power2 = 3)
power2gridDifference(power2 = 3)
power2 |
positive integer, determines length of grid, |
from |
lowest value of grid |
to |
highest value of grid |
dolog |
logical, make grid equally spaced on the log scale? |
The function power2gridRatio
gives a grid for searching from 0 to Inf
equally spaced on the log scale,
with about half of the observations from 0.5 to 2.
and power2gridDifference
gives an equally spaced grid for searching from -1 to 1.
a vector for grid search of length 1+2^power2
for use in
unirootGrid
unirootGrid
power2gridRatio(3)
power2gridDifference(3)
power2grid(3,from=-1,to=1,dolog=FALSE)
power2grid(3, from=1,to=9, dolog=FALSE)
power2grid(3, from=1,to=9, dolog=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.