attemptstable2supp3: Translate attempt tables to hyper3 support functions

attemptstable2supp3R Documentation

Translate attempt tables to hyper3 support functions

Description

description here

Usage

attemptstable2supp3(a, decreasing, give.supp=TRUE, dnf.last=TRUE)

Arguments

a

Data frame, see details

decreasing

Boolean, with TRUE meaning that the highest score wins [e.g. javelin distances] and FALSE meaning that the lowest score wins [e.g. times for a race]

give.supp

Boolean, return the support function or the order statistic

dnf.last

Boolean, should NA entries count as coming last (TRUE) or be ignored (FALSE)

Details

Function attemptstable2supp3() is intended for use on attempts tables like javelin.

These objects can be generated by running script inst/javelin.Rmd, which includes some further discussion and technical documentation, and creates file javelin.rda which resides in the data/ directory.

Value

Returns a hyper3 object

Author(s)

Robin K. S. Hankin

See Also

ordertable2supp,javelin

Examples


jj <- javelin_table[1:3,]
jj
attemptstable2supp3(jj)


hyper2 documentation built on June 22, 2024, 9:57 a.m.