| ldmppr_grids | R Documentation |
ldmppr_grids() constructs a multi-resolution grid schedule used by
estimate_process_parameters. The returned object is an S3 class
with helper methods; see ldmppr_grids-class.
ldmppr_grids(upper_bounds, levels, labels = NULL, include_endpoints = TRUE)
upper_bounds |
a vector |
levels |
a list describing the grid schedule. Each entry can be either:
|
labels |
(optional) character vector of length equal to |
include_endpoints |
|
an object of class "ldmppr_grids".
ldmppr_grids-class for methods and details.
# A 3-level coarse-to-fine schedule (counts per dimension)
g <- ldmppr_grids(
upper_bounds = c(1, 50, 50),
levels = list(
c(25, 25, 25),
c(75, 75, 75),
c(100, 100, 100)
)
)
g
length(g)
summary(g)
# Explicit vectors (single level)
g2 <- ldmppr_grids(
upper_bounds = c(1, 50, 50),
levels = list(list(
x = seq(0, 50, by = 2),
y = seq(0, 50, by = 2),
t = seq(0, 1, length.out = 30)
))
)
as.data.frame(g2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.