Skip to contents

Make new records for instances when the sum of leaf diseases is less than the reported total for their basal disease. The difference between these counts gets disease name 'basal_disease'_unaccounted'.

Usage

find_unaccounted_cases(data)

Arguments

data

A tidy data set with a `basal_disease` column.

Value

A data set containing records that are the difference between a reported total for a basal_disease and the sum of their leaf diseases.