RankTie

org.saddle.RankTie$
See theRankTie companion trait
object RankTie

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
RankTie.type

Members list

Concise view

Type members

Classlikes

object Avg extends RankTie

Take the average of the ranks for all ties

Take the average of the ranks for all ties

 Vec(3,6,6,4).rank(tie = stats.RankTie.Avg) == Vec[Double](1,3.5,3.5,2)

Attributes

Graph
Supertypes
trait RankTie
class Object
trait Matchable
class Any
Self type
Avg.type
object Max extends RankTie

Take the maximum rank for all ties

Take the maximum rank for all ties

 Vec(3,6,6,4).rank(tie = stats.RankTie.Max) == Vec[Double](1,4,4,2)

Attributes

Graph
Supertypes
trait RankTie
class Object
trait Matchable
class Any
Self type
Max.type
object Min extends RankTie

Take the minimum rank for all ties

Take the minimum rank for all ties

 Vec(3,6,6,4).rank(tie = stats.RankTie.Min) == Vec[Double](1,3,3,2)

Attributes

Graph
Supertypes
trait RankTie
class Object
trait Matchable
class Any
Self type
Min.type
object Nat extends RankTie

Take the rank according to natural (input) order

Take the rank according to natural (input) order

 Vec(3,6,6,4).rank(tie = stats.RankTie.Nat) == Vec[Double](1,3,4,2)

Attributes

Graph
Supertypes
trait RankTie
class Object
trait Matchable
class Any
Self type
Nat.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror