Description Usage Arguments Value
View source: R/sample_general_cond_trees.R
Sample general conditional trees
1 2 3 4 5 6 7 | sample_general_cond_trees(
n_vec,
B = 100,
feature_type = "single_gauss",
params_list = list(mean = 0, sd = 0.5),
multiple_outside_transmissions = FALSE
)
|
n_vec |
vector of size of clusters |
B |
number of sampled trees for each size |
feature_type |
method of how we sample covariates. Currently only "single_gauss", "empirical" are supported |
params_list |
of additional parameters |
multiple_outside_transmissions |
logical indicating whether we allow multiple outside transmissions or not. Default is FALSE |
data frame of trees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.