View source: R/04_simulation.R
Xsim | R Documentation |
Title: Simulate Design matrix and Indicators
Xsim( subject_sim = 100, tree = NULL, num_leaf = 10, covariates_sim = 50, rho = NULL, Sigma = NULL, num_branch = 3, num_cov = 5, seed = 555 )
subject_sim |
|
tree |
|
covariates_sim |
|
rho |
|
Sigma |
|
num_branch |
|
num_cov |
|
seed |
|
num_leaf'integer' |
Number of nodes in tree to simulate |
A list of outcomes including:
X = The design matrix
Zeta = The matrix indicating which covariates are significant
Sigma = The simulated covariance matrix
tree = The simulated tree, phylo
object generated by the ape
package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.