generateReval: Generate a grid of parameter values to evaluate over

Description Usage Arguments Value

View source: R/unfazeD.R

Description

Generate a grid of parameter values to evaluate over

Generate a grid of parameter values for multiple values of M

Usage

1
2
3
generateReval(M, rval = NA, nr = NA)

generateRevalList(Ms, rvals = NA, nrs = NA)

Arguments

M

an integer.

rval

{r} values for the grid. Takes precedence over nr.

nr

an integer. If rval is not provided, it will be generated using 0, 1, and nr - 1 values between them.

Ms

an integer vector.

rvals

a list of the length max(Mv). Can also be a vector like rval; in that case the same vector will be used for all the values of Mv.

nrs

an integer vector of the length max(Mv).

Value

A a matrix with M rows and nr + 1 or length(rval) columns.

A list of the length max(Mv) with elements corresponding to the values of Mv. Each element is a matrix with M rows and nr + 1 or length(rval) columns.


innager/unfazeD documentation built on June 26, 2021, 6:01 p.m.