Learn R Programming

BuyseTest (version 3.0.5)

getCount: Extract the Number of Favorable, Unfavorable, Neutral, Uninformative pairs

Description

Extract the number of favorable, unfavorable, neutral, uninformative pairs.

Usage

getCount(object, type)

# S4 method for S4BuyseTest getCount(object, type)

Value

A "vector" containing the number of pairs

Arguments

object

an R object of class S4BuyseTest, i.e., output of BuyseTest

type

the type of pairs to be counted. Can be "favorable", "unfavorable", neutral, or uninf. Can also be "all" to select all of them.

Author

Brice Ozenne