draw_features: Draw the features for the tree people

Description Usage Arguments Value

View source: R/sample_general_cond_trees.R

Description

Draw the features for the tree people

Usage

1
2
3
4
5
6
draw_features(
  tree_df,
  feature_type,
  params_list,
  multiple_outside_transmissions = FALSE
)

Arguments

tree_df

data frame where each row is an individual

feature_type

currently or supports "single_gauss" "empirical"

params_list

additional parameters to pass

multiple_outside_transmissions

logical indicating whether we allow multiple outside transmissions or not. Default is FALSE

Value

updated data frame with covariate features


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