Description Usage Arguments Value Examples
View source: R/simulation-lib.R
Generates the X_i independently, with each component of X_i also being an independent Normal(0, 1). Exported to the user.
1 | gen_xs_default(n, p)
|
n |
Number of observations to generate |
p |
Number of dimensions for each observation (includes the intercept) |
An n * (p-1) matrix of generated covariates
1 | gen_xs_default(10, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.