50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

BuyseTest (version 2.1.3)

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)

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.

Value

A "vector" containing the number of pairs