Learn R Programming

hyper2 (version 3.0-0)

attemptstable2supp3: Translate attempt tables to hyper3 support functions

Description

description here

Usage

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

Value

Returns a hyper3 object

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)

Author

Robin K. S. Hankin

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.

See Also

ordertable2supp,javelin

Examples

Run this code

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

Run the code above in your browser using DataLab