print.gips | R Documentation |
gips
objectPrinting function for a gips
class.
## S3 method for class 'gips'
print(
x,
digits = 3,
compare_to_original = TRUE,
log_value = FALSE,
oneline = FALSE,
...
)
x |
An object of a |
digits |
The number of digits after the comma
for a posteriori to be presented. It can be negative.
By default, |
compare_to_original |
A logical. Whether to print how many times more likely is the current permutation compared to:
|
log_value |
A logical. Whether to print the logarithmic value.
Default to |
oneline |
A logical. Whether to print in
one or multiple lines. Default to |
... |
The additional arguments passed to |
Returns an invisible NULL
.
find_MAP()
- The function that makes
an optimized gips
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.
S <- matrix(c(1, 0.5, 0.5, 2), nrow = 2, byrow = TRUE)
g <- gips(S, 10, perm = "(12)")
print(g, digits = 4, oneline = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.