Draw the features for the tree people

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