Sample general conditional trees
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