process_input_data: Generate model input from input data frame

View source: R/functions.R

process_input_dataR Documentation

Generate model input from input data frame

Description

Generate model input from input data frame

Usage

process_input_data(
  input_df,
  type = "type",
  use_strain = FALSE,
  combine_strain = FALSE,
  condense = FALSE
)

Arguments

input_df

Data frame containing details of case-carrier studies

type

Name of column in input data frame used for typing information

use_strain

Boolean specifying whether strain information should be used in addition to type information

combine_strain

Boolean specifying whether strain information should be combined with type information

condense

Boolean specifying whether repeated entries of the same type should be condensed into a single entry

Value

A list of lists used as an input to stan models


nickjcroucher/progressionEstimation documentation built on April 15, 2023, 3:53 p.m.