Printing function for a gips
class.
Usage
# S3 method for class 'gips'
print(
x,
digits = 3,
compare_to_original = TRUE,
log_value = FALSE,
oneline = FALSE,
...
)
Arguments
- x
An object of a
gips
class.- digits
The number of digits after the comma for a posteriori to be presented. It can be negative. By default,
Inf
. It is passed tobase::round()
.- compare_to_original
A logical. Whether to print how many times more likely is the current permutation compared to:
the identity permutation
()
(for unoptimizedgips
object);the starting permutation (for optimized
gips
object).
- log_value
A logical. Whether to print the logarithmic value. Default to
FALSE
.- oneline
A logical. Whether to print in one or multiple lines. Default to
FALSE
.- ...
The additional arguments passed to
base::cat()
.
See also
find_MAP()
- The function that makes an optimizedgips
object out of the unoptimized one.compare_posteriories_of_perms()
- The function that prints the compared posteriories between any two permutations, not only compared to the starting one or id.