generate_stdzied_design_matrix {GreedyExperimentalDesign} | R Documentation |
Generates a design matrix with standardized predictors.
Description
This function is useful for debugging.
Usage
generate_stdzied_design_matrix(n = 50, p = 1, covariate_gen = rnorm, ...)
Arguments
n |
Number of rows in the design matrix |
p |
Number of columns in the design matrix |
covariate_gen |
The function to use to draw the covariate realizations (assumed to be iid).
This defaults to |
... |
Optional arguments to be passed to the |
Value
THe design matrix
Author(s)
Adam Kapelner
[Package GreedyExperimentalDesign version 1.5.6.1 Index]