rank_dist: Rank margins of a multivariate distribution

View source: R/order_dist.R

rank_distR Documentation

Rank margins of a multivariate distribution

Description

Rank margins of a multivariate distribution

Usage

rank_dist(
  dist,
  method = c("param", "sample"),
  target = c("mean", "prob", "tstat"),
  combine = ifelse(target == "prob", "prod", "min"),
  threshold = rep(0.75, groups(dist)),
  size = NA,
  ties.method = "random"
)

Arguments

dist

SIMPle.dist object

method

character, base order on dist parameters ("params") or sample ("sample")

target

character, basis for ordering

combine

character, way to combine across groups

threshold

numeric, threshold values (vector of length groups(dist))

size

integer, sample size(s) in predictive sample

ties.method

character, see argument ties.method from function base::rank


maxwestphal/SIMPle documentation built on April 11, 2024, 4:07 p.m.