count_expected_rrr {pvda}R Documentation

Count Expected for Relative Reporting Rate

Description

Internal function to provide expected counts related to the RRR

Usage

count_expected_rrr(df, df_colnames, df_syms)

Arguments

df

See documentation for add_expected_counts

df_colnames

See documentation for da

df_syms

A list built from df_colnames through conversion to symbols.

Value

A data frame with columns for obs, n_drug, n_event, n_tot and (RRR) expected


[Package pvda version 0.0.3 Index]