Learn R Programming

dupiR (version 1.0)

getCounts: Accessors for the 'counts' and 'fractions' slots of a Counts object.

Description

Each measurement consists of an integer count and a matched sampling fraction. The counts and fractions slots contain the results of an arbitrary set of measurements.

The counts slot is am integer vector of counts The fractions slot is a numeric vector of matched sampling fractions

Arguments

See Also

Counts-class

Examples

Run this code
K <- newCounts( counts = c(20,30), fractions = c(0.075, 0.1))

getCounts(K)
getFractions(K)

Run the code above in your browser using DataLab