noorder: Sort and Merge Probability Space Outcomes

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function sorts the rows (outcomes) of a data frame probability space, effectively removing the original order present) and aggregates the sorted rows into a new probability data frame with unique, sorted outcomes.

Usage

1
noorder( space )

Arguments

space

a data frame probability space or a subset of one.

Details

The data frame space must have at least two non-probs columns or an error will result.

Value

A data frame with a probs column and sorted, unique rows.

Author(s)

G. Jay Kerns gkerns@ysu.edu.

See Also

addrv, marginal

Examples

1
2
S <- tosscoin(3, makespace = TRUE)
noorder(S)

GabauerDavid/WVPU documentation built on June 1, 2019, 3:52 a.m.