Print a coincidence
object in two ways. By default, the results are shown in
the R console. The results can also be exported to the directory.
# S3 method for coincidence print(x, export = FALSE, file.name = NULL, digits = 4, ...)
x | An object of class |
---|---|
export | A logical argument. If |
file.name | The name of the file if |
digits | The significant digits to be shown. |
... | Options used by the tibble package to format the output. See
|
Tiago Olivoto tiagoolivoto@gmail.com
# \donttest{ library(metan) sel1 <- paste("G", 1:30, sep = "") sel2 <- paste("G", 16:45, sep = "") coinc <- coincidence_index(sel1 = sel1, sel2 = sel2, total = 150) print(coinc)#> [1] 37.5# }