weighted_concordance: Calculate Weighted Concordance.

View source: R/adorn-weights.R

weighted_concordanceR Documentation

Calculate Weighted Concordance.

Description

Calculates the weighted concordance for a given site using the total number of patients reported by the MOH and PEPFAR as well as the weighting factor.

Usage

weighted_concordance(df, weighting_name, grouping_columns)

Arguments

df

Dataframe containing data to be adorned.

weighting_name

Name to be given to weighting column.

grouping_columns

A list of columns on which weighting groups should be based.

Value

A single value for the weighted concordance of the site.


pepfar-datim/daa-analytics documentation built on Nov. 24, 2024, 7:31 p.m.