Helper function to compile "long" group metadata
Source:R/util-CalculatePercentage.R
CalculatePercentage.Rd
Used to create percentage values on enrollment data, such as site activation and and participantment enrollment, and pasting together an appropriate n/N (xx.x%) value as well.
Arguments
- data
The input dataframe
- strCurrentCol
Column that represents site count or participant count
- strTargetCol
Column that represents the target count for site/participants
- strPercVal
Name of column that will contain the numeric percentage value on enrollment
- strPercStrVal
Name of column that will contain the n/N (xx.x%) string