Last data update: 2014.03.03

R: Accessors for the 'counts' and 'fractions' slots of a Counts...
getCountsR Documentation

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

Description

Each measurement consists of an integer count and a corresponding sampling fraction. These values are required to defined an object of class Counts and are subsequently stored in the counts and fractions slots. The counts slot is an integer vector of counts. The fractions slot is a numeric vector of matched sampling fractions.

Methods

signature(object = "Counts")

an object of class Counts.

Author(s)

Federico Comoglio, federico.comoglio@bsse.ethz.ch

See Also

Counts

Examples

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

getCounts(K)
getFractions(K)

Results