as.matrix.netrankr_full: Extract probabilities from netrankr_full object

Description Usage Arguments Author(s)

View source: R/utils.R

Description

extract probabilities as matrices from the result of an object obtained from exact_rank_prob

Usage

1
2
## S3 method for class 'netrankr_full'
as.matrix(x, type = "rank", ...)

Arguments

x

A netrankr_full object

type

which probabilities to return. "rank" for rank probabilities, "relative" for relative rank probabilities and "expected" for expected rank probabilities and their variants

...

additional parameters for as.matrix

Author(s)

David Schoch


netrankr documentation built on Sept. 5, 2021, 5:19 p.m.