prints a pt object of dimension two

Share:

Description

(ba) This function prints a two-way probability table as a joint distribution, a conditional in both sides. This is quite peculiar function to be generalized later on. BE AWARE that the 'pt' must comprise the joint distribution.

Usage

1
print8pt2(pt, comment=0, kkk=-3, tra=FALSE)

Arguments

pt

The pt object.

comment

Numeric vector defining the way to print. 0: joint probability, 1: conditional by rows, 2: conditional by columns.

kkk

the coefficient for rounding the probabilities.

tra

Must the table be transposed when printed?

Value

nothing but a print is performed

Examples

1
2
3
 rebastaba3k("RESET"); # needed only for R checking, to be forgotten
 uu <- rebastaba.pta1;
 print8pt2(uu, kkk=3);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.