getStats.IdMapCounts: Retrieves a set of unique counts of secondary IDs

Description Usage Arguments Value Author(s) See Also Examples

Description

Retrieves a set of unique counts of secondary IDs over the all ID Maps and then computes the number of entries and percentage corresponding to each count for all ID Maps within the given object

Usage

1
2
## S3 method for class 'IdMapCounts'
getStats(this, percent=TRUE, digits=1, summary=FALSE, cutoff=3, verbose=FALSE, ...)

Arguments

idCounts

IdMapCounts object or a list of objects on which summary is computed

percent

logical indicating wherether the percentage column(s) should be included into summary

digits

integer indicating the number of decimal places in percentage column

summary

if TRUE, the summary of counts is generated. Default is FALSE.

cutoff

If summary is TRUE, all data for counts greater than cutoff are collapsed (summarized) into one row. Default is 3.

verbose

If TRUE enables diagnostic messages.Default is FALSE

...

Not used

Value

Data frame representing a set of unique counts of secondary IDs. if summary is FALSE, the resulting data frame represent the number of entries and percentage corresponding to each count for all ID Maps within the object. If summary is TRUE, the resulting data frame represent the formatted summary of count statistics, including summarized data for counts grater than cutoff, maximum number of secondary IDs per primary ID and the total number of secondary IDs for each DB within the IdMapCounts object.

Author(s)

Alex Lisovich, Roger Day

See Also

For more information see IdMapCounts.

Examples

1
2
3
4
5
 jointIdMap<-JointIdMap(examples$identDfList);
 cnts<-jointIdMap$getCounts(verbose=TRUE);
 cnts$getStats();
 cnts$getStats(summary=TRUE,cutoff=4);
 

IdMappingAnalysis documentation built on Oct. 31, 2019, 3:30 a.m.