Description Usage Arguments Value Examples
View source: R/design_matrix.R
This function is called internally by other functions. It builds the design matrix for the models.
1 2 3 |
data |
The dataset to be used |
param_matrix |
The matrix storing parameter values |
indices |
The list of indices computed by |
empty_param_matrix_full |
The empty expanded or complete parameter matrix |
empty_design_matrix |
The empty design matrix |
print |
A boolean indicating whether or not to print information about potential issues |
The design matrix.
1 2 3 | pmat <- build_param_matrix(param_values = c(0.1, 0.2), param_str = c("w1" = "s"))
dmat <- build_design_matrix(data = SurvEles_small, param_matrix = pmat)
table(dmat[, "w1"])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.