noorder {probs} | R Documentation |
Sort and Merge Probability Space Outcomes
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
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
Examples
S <- tosscoin(3, makespace = TRUE)
noorder(S)
[Package probs version 0.9.9 Index]