Description Usage Arguments Value Examples
produce differently scaled one-dimensional grids
1 2 | grid.maker(bounds, num.points, spacing = "log.g",
plotit = FALSE, ...)
|
bounds |
numeric vector of length 2: bounds of interval |
num.points |
number of points desired |
spacing |
character vector indicating the desired
spacing rule. Currently one of |
plotit |
boolean TRUE if want a plot of result |
... |
additional arguments needed for grid.makers using distributions |
numeric vector of class "gridR" with attribute "spacing"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | grid.maker(bounds=c(-1,5),num.points=10,spacing="log.g",plotit=FALSE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="log.g",plotit=TRUE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="log.g2",plotit=TRUE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="log.g2",plotit=FALSE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="hyp.sine",plotit=FALSE)
grid.maker(bounds=c(-10,10),num.points=20,spacing="hyp.sine",plotit=TRUE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="exp.grid",plotit=TRUE)
grid.maker(bounds=c(-1,5),num.points=10,spacing="exp.grid",plotit=FALSE)
grid.maker(bounds=c(1,5),num.points=10,spacing="lognorm.grid",plotit=TRUE,meanlog=3,sdlog=0.5)
grid.maker(bounds=c(-1,5),num.points=10,spacing="lognorm.grid",plotit=FALSE,meanlog=3,sdlog=0.5)
grid.maker(bounds=c(-1,5),num.points=10,spacing="gumbel.grid",plotit=TRUE,loc=1,scale=1.1)
grid.maker(bounds=c(-1,5),num.points=10,spacing="gumbel.grid",plotit=FALSE,loc=1,scale=1.1)
grid.maker(bounds=c(-1,50),num.points=10,spacing="gumbel.grid",plotit=TRUE,loc=1,scale=10)
grid.maker(bounds=c(-1,50),num.points=10,spacing="gumbel.grid",plotit=TRUE,loc=10,scale=10)
grid.maker(bounds=c(-1,5),num.points=10,spacing="beta.grid",plotit=TRUE,shape1=2,shape2=5,ncp=0)
grid.maker(bounds=c(-10,5),num.points=20,spacing="beta.grid",plotit=TRUE,shape1=0.5,shape2=0.5,ncp=0)
grid.maker(bounds=c(-10,5),num.points=20,spacing="beta.grid",plotit=TRUE,shape1=0.5,shape2=1,ncp=0)
grid.maker(bounds=c(-10,5),num.points=20,spacing="beta.grid",plotit=TRUE,shape1=0.5,shape2=1,ncp=2)
grid.maker(bounds=c(-1,5),num.points=10,spacing="beta.grid",plotit=FALSE,shape1=2,shape2=5,ncp=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.