sample_general_cond_trees: Sample general conditional trees

Description Usage Arguments Value

View source: R/sample_general_cond_trees.R

Description

Sample general conditional trees

Usage

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
)

Arguments

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

Value

data frame of trees


skgallagher/InfectionTrees documentation built on July 28, 2021, 2:14 p.m.