panel-designs | R Documentation |
These functions are useful for generating design matrices for the exploration of parameter space.
runif_panel_design(
lower = numeric(0),
upper = numeric(0),
nseq,
specific_names,
unit_names
)
lower , upper |
named numeric vectors giving the lower and upper bounds of the ranges, respectively. |
nseq |
Total number of points requested |
specific_names |
Character vector containing the names of unit-specific
parameters. This argument must be used in conjunction with the argument
|
unit_names |
Character vector containing the names of the units of the
panel. If not used in conjunction with |
runif_panel_design
returns a data.frame
object with
nseq
rows. Each row corresponds to a parameter set drawn randomly
from a multivariate uniform distribution specified by the lower
,
upper
, specific_names
and unit_names
arguments.
Jesse Wheeler, Aaron A. King
runif_panel_design(
lower = c('a' = 0, 'b' = 10, 'a[u2]' = 0.5),
upper = c('a' = 1, 'b' = 15, 'a[u2]' = 0.75),
specific_names = c('a'),
unit_names = paste0(rep('u', 5), 1:5),
nseq = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.