nt_join_tables | R Documentation |
Join tables resulting from other functions of the package ntimes
.
nt_join_tables(
tab.x,
tab.y,
digits = 3,
alpha = 0.05,
save = FALSE,
file = "table"
)
tab.x |
a data frame with attribute |
tab.y |
a data frame with attribute |
digits |
a numeric value specifying the number of digits for the p values. |
alpha |
a numeric value specifying the significance level to indicate statistically significant multiple comparisons. |
save |
a logical value indicating whether the output should be saved as a csv file. |
file |
a character value indicating the name of output file in csv format to be saved. |
A data frame containing tab.x
and tab.y
.
library(dplyr)
iris_nt <- iris |> filter(Species != "versicolor") |>
mutate(Species = droplevels(Species))
tab01 <- nt_describe(iris_nt, group = Species)
tab02 <- nt_compare_tg(iris_nt, group = Species)
tab <- nt_join_tables(tab01, tab02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.