toss_value {BNDataGenerator}R Documentation

Tossing a Cardinality

Description

Sets up a sample space for the experiment of tossing a cardinality repeatedly with the outcomes "Values".

Usage

	toss_value(times, num_of_cases, makespace=FALSE)

Arguments

times

Number of tosses.

num_of_cases

Cardinality.

makespace

Logical.

Value

A data frame, with an equally likely probs column if makespace is TRUE.

Note

It developed of 'tosscoin' function in prob package.

Author(s)

Jae-seong Yoo <praster1@gmail.com>

Examples

	toss_value(1, 3)
	toss_value(2, 3)
	toss_value(3, 4, makespace = TRUE)

[Package BNDataGenerator version 1.0 Index]