fix_counts: Fix Counts to Make 0

Description Usage Arguments Value Examples

View source: R/jigsaw.R

Description

This function is designed to take a variable that reports NA for a count of 0 and replace the NA with 0. This occurs when Jigsaw finds no event (e.g., no hospitalization). There is now a flag variable reported in Jigsaw that indicates this explicitly.

Usage

1
fix_counts(dt = cohort, dd = data_dict)

Arguments

dt

data table

dd

data dictionary file

Value

Corrected counts that have 0 for NA. Calls change_NA

Examples

1
## Not run: # nothing here yet

outcomesinsights/jigsaw_r documentation built on May 24, 2019, 5:54 p.m.