test_rrisk.BayesPEM: Quick test of rrisk.BayesPEM

Description Usage Arguments Value Examples

Description

The function test_rrisk.BayesPEM is a quick test of the rrisk.BayesPEM function for all cases of misclass without setting parameters. x, n and k are sampled, all other parameters are fixed.

Usage

1

Arguments

misclass

See misclass character with legal character entries:
individual, individual-fix-se, individual-fix-sp, individual-fix-se-sp,
pool, pool-fix-se, pool-fix-sp or pool-fix-se-sp.
fix-se: fixed sensitivity
fix-sp: fixed specifity
fix-se-sp: fixed sensitivity AND fixed specifity

Value

Returns an instance of the bayesmodelClass class.

Examples

1
2
3
4
5
6
------------------------------------------
test examples
------------------------------------------

res <- test_rrisk.BayesPEM(misclass = "individual")
res <- test_rrisk.BayesPEM(misclass = "compare")

BfRstats/rriskBayes2 documentation built on May 5, 2019, 2:42 p.m.