as.matrix.netrankr_full: Extract probabilities from netrankr_full object

View source: R/utils.R

as.matrix.netrankr_fullR Documentation

Extract probabilities from netrankr_full object

Description

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

Usage

## 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 May 29, 2024, 4:19 a.m.