bestTrt: Best Treatment Function

Description Usage Arguments Value Author(s) See Also Examples

Description

function that gets a 3D matrix as an input and returns a 2D matrix with the 3 best treatments for each simulations

Usage

1
bestTrt(mtrx)

Arguments

mtrx

3D matrix (treatment x patients x simulations)

Value

2D matrix with the 3 best treatments over patients and simulations

Author(s)

mitja seibold mitja.seibold@student.uva.nl

See Also

polyasUrnFuncSimple

polyasUrnFuncAdvanced

Examples

1
2
foo <- array(1:125, dim = c(5,5,5))
bst <- bestTrt(foo)

81N55E/PNS_Polya documentation built on May 24, 2019, 8:48 p.m.