smooth_sra: Smooth quantiles of a matrix of sequential ranked agreements.

Description Usage Arguments Value Author(s) Examples

View source: R/sra.R

Description

Smooth quantiles of a matrix of sequential ranked agreements.

Usage

1
smooth_sra(object, confidence = 0.95)

Arguments

object

A matrix

confidence

the limits to compute

Value

A list containing two vectors for the smoothed lower and upper limits

Author(s)

Claus Ekstrøm <ekstrom@sund.ku.dk>

Examples

1
2
3
4
5
6
# setting with 3 lists
mlist <- matrix(cbind(1:8,c(1,2,3,5,6,7,4,8),c(1,5,3,4,2,8,7,6)),ncol=3)
# compute rank agreement of 5 random permutations
null=random_list_sra(mlist,n=15)
# now extract point-wise quantiles according to confidence level
smooth_sra(null)

Example output

$lower
       1        2        3        4        5        6        7        8 
1.959090 2.339810 2.231689 2.190502 2.145845 2.031825 2.017607 2.017607 

$upper
       1        2        3        4        5        6        7        8 
3.265986 3.081964 2.736741 2.645751 2.607150 2.606328 2.606328 2.606328 

SuperRanker documentation built on Jan. 30, 2021, 1:06 a.m.